|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.util.Property<T>
T
- type of the propertypublic class Property<T>
A property that can be stored in a hash map.
Constructor Summary | |
---|---|
Property(String theid)
Creates a property with given identifier and null as default value. |
|
Property(String theid,
T thedefaultValue)
Creates a property with given identifier and default value. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
T |
getDefault()
Returns the default value of this property. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Property(String theid)
null
as default value.
theid
- the identifierpublic Property(String theid, T thedefaultValue)
theid
- the identifierthedefaultValue
- the default valueMethod Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public T getDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |