public class CompoundKey extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CompoundKey(Object[] elements)
Construct a CompoundKey.
|
CompoundKey(Object a,
Object b)
Construct a CompoundKey.
|
CompoundKey(Object a,
Object b,
Object c)
Construct a CompoundKey.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CompoundKey(Object[] elements)
elements
- Elements of the key.public CompoundKey(Object a, Object b)
a
- Element.b
- Element.Copyright © 2018 JBoss by Red Hat. All rights reserved.