| java.lang.Object org.cougaar.util.ArrayMap org.cougaar.util.PropertyTree
PropertyTree | public class PropertyTree extends ArrayMap (Code) | | A PropertyTree is an ArrayMap that limits it's keys to
String s and it's values to:
- null
- String
- wrapped Java primitive (Integer, Boolean, etc)
- another PropertyTree
- a Serializable Collection of elements, each element matching
one of the above criterion
.
An ArrayMap is a java.util.Map , and can be used exactly
like a typical Map. The most significant differences are that
- The elements are kept in the order that they are added.
- One can restrict the (key, value) types.
- There are index-based "getters", such as getKey(int).
See Also: ArrayMap |
PropertyTree | public PropertyTree(int initialCapacity)(Code) | | |
PropertyTree | public PropertyTree()(Code) | | |
|
|