public class PropertySet
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PropertySet()
Construct a empty PropertySet.
|
Modifier and Type | Method and Description |
---|---|
Property |
get(java.lang.String propID)
Get the property with specified name.
|
java.util.Iterator |
getAll()
Get all the properties as an iterator.
|
Property |
put(Property prop)
Put the property with specified name.
|
Property |
remove(java.lang.String propID)
Remove a particular property from the set.
|
int |
size()
Get the size of the property set.
|
public Property get(java.lang.String propID)
propID
- Name of the propertypublic Property put(Property prop)
prop
- New property itempublic Property remove(java.lang.String propID)
propID
- Name of the property to be removedpublic java.util.Iterator getAll()
public int size()