|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.collection.CompoundKey
public class 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)
equals in class Objectobj - Object to test equality with.
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||