|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.util.collection.CompoundKey
An immutable compound key class.
Constructor Summary | |
CompoundKey(Object[] elements)
Construct a CompoundKey. |
|
CompoundKey(Object a,
Object b)
Construct a CompoundKey. |
|
CompoundKey(Object a,
Object b,
Object c)
Construct a CompoundKey. |
Method Summary | |
Object |
clone()
Return a shallow cloned copy of this object. |
boolean |
equals(Object obj)
Test the equality of an object with this. |
int |
hashCode()
Get the hash code of this object. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CompoundKey(Object[] elements)
elements
- Elements of the key.public CompoundKey(Object a, Object b)
a
- Element.b
- Element.public CompoundKey(Object a, Object b, Object c)
a
- Element.b
- Element.c
- Element.Method Detail |
public boolean equals(Object obj)
obj
- Object to test equality with.
public int hashCode()
public String toString()
public Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |