@Deprecated public final class StatsPropertyReader extends Object implements PropertyReader
Constructor and Description |
---|
StatsPropertyReader(PropertyReader source)
Deprecated.
Constructs a new
StatsPropertyReader based on the specified
PropertyReader . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
Compares this object with the specified argument for equality.
|
String |
get(String name)
Deprecated.
Gets the value of the property with the specified name.
|
Iterator |
getNames()
Deprecated.
Gets an iterator that iterates over all the property names.
|
PropertyReader |
getUnused()
Deprecated.
Retrieves the set of unused properties.
|
int |
hashCode()
Deprecated.
Returns a hash code value for this object.
|
int |
size()
Deprecated.
Returns the number of entries.
|
public StatsPropertyReader(PropertyReader source) throws IllegalArgumentException
StatsPropertyReader
based on the specified
PropertyReader
. The properties in source
are
copied to an internal store.source
- the source property reader, cannot be null
.IllegalArgumentException
- if source == null
.public String get(String name) throws IllegalArgumentException
get
in interface PropertyReader
name
- the name of the property, cannot be null
.null
if it is not set.IllegalArgumentException
- if name == null
.public Iterator getNames()
Iterator
will return only String
instances.getNames
in interface PropertyReader
Iterator
that will iterate over all the names, never
null
.public int size()
size
in interface PropertyReader
public PropertyReader getUnused()
PropertyReader
containing which were not queried, never
null
.public boolean equals(Object obj)
See http://www.xins.org/.