|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.freehep.util.parameterdatabase.ParameterKey
Constructor Summary | |
protected |
ParameterKey(Object object,
String name)
This protected constructor creates a new ParameterKey with the given parameters. |
Method Summary | |
static ParameterKey |
createParameterKey(Object object,
String name)
This static factory method returns a ParameterKey using the given arguments. |
boolean |
equals(Object otherKey)
Two ParameterKeys are equal if and only if the corresponding objects and names are equal. |
void |
finalize()
We override the finalize method to allow this ParameterKey to be recycled. |
String |
getName()
Return the name of the parameter. |
Object |
getObject()
Return the object associated with this ParameterKey. |
int |
hashCode()
The hashcode returned is simply the exclusive-or of the hashcodes of the object and the name. |
protected void |
recycle()
This method will recycle this ParameterKey. |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ParameterKey(Object object, String name)
Method Detail |
public static ParameterKey createParameterKey(Object object, String name)
public Object getObject()
public String getName()
protected void recycle()
public boolean equals(Object otherKey)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void finalize() throws Throwable
finalize
in class Object
Throwable
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |