Package org.openjdk.jmc.common.util
Class CompositeKey
- java.lang.Object
-
- org.openjdk.jmc.common.util.CompositeKey
-
public final class CompositeKey extends java.lang.Object
A class that can be used to combine multiple objects as one key. Useful for example in maps.
-
-
Field Summary
Fields Modifier and Type Field Description private int
m_hashCode
private java.lang.Object[]
m_keys
-
Constructor Summary
Constructors Constructor Description CompositeKey(java.lang.Object[] keys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object that)
java.lang.Object[]
getKeyElements()
int
hashCode()
-