jconch.multikey
Class JConchMultiKey
java.lang.Object
jconch.multikey.JConchMultiKey
- Direct Known Subclasses:
- UniKey
public abstract class JConchMultiKey
- extends Object
A fast, typed, non-modifiable, thread-safe implementation of having multiple keys for a map.
JConchMultiKey
public JConchMultiKey()
getKeyCount
public abstract int getKeyCount()
- The number of elements in the multikey.
- Returns:
- The cardinality of this implementation.
getKeys
public abstract List<Object> getKeys()
- The keys that make up the multikey.
- Returns:
- An unmodifiable list of keys that make up the map.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object