Package org.openjdk.jmc.common.util
Class CompositeKey
- java.lang.Object
-
- org.openjdk.jmc.common.util.CompositeKey
-
public final class CompositeKey extends java.lang.ObjectA 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 intm_hashCodeprivate 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 booleanequals(java.lang.Object that)java.lang.Object[]getKeyElements()inthashCode()
-