|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap
byucc.edif.PropertyList
public class PropertyList
Provides a LinkedHashMap of Property objects.
Property,
Serialized Form| Constructor Summary | |
|---|---|
PropertyList()
Constructs a PropertyList Object with an initial capacity of 1 and a load factor 0.95. |
|
| Method Summary | |
|---|---|
void |
addProperty(Property p)
Add a Property to the PropertyList, the key is the Property's name |
java.lang.Object |
clone()
Returns a clone, or Object that is a clone of this one. |
boolean |
equals(PropertyList cmp)
Returns true if this PropertyList equals or matches the passed-in one. |
Property |
getProperty(java.lang.String str)
Get the Property according to the Property's name |
java.lang.String |
toString()
Returns a String representation of this Object. |
| Methods inherited from class java.util.LinkedHashMap |
|---|
clear, containsValue, get, removeEldestEntry |
| Methods inherited from class java.util.HashMap |
|---|
containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
|---|
public PropertyList()
| Method Detail |
|---|
public void addProperty(Property p)
p - a Property value representing the
property to add to this PropertyList Objectpublic java.lang.Object clone()
clone in class java.util.HashMappublic boolean equals(PropertyList cmp)
cmp - The PropertyList Object to compare this one to
public Property getProperty(java.lang.String str)
str - a String value specifying the desired
property
Property value representing the propertypublic java.lang.String toString()
toString in class java.util.AbstractMap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||