jconch.multikey
Class JConchMultiKey
java.lang.Object
jconch.multikey.JConchMultiKey
- Direct Known Subclasses:
- UniKey
public abstract class JConchMultiKey
- extends java.lang.Object
A fast, typed, non-modifiable, thread-safe implementation of having multiple keys for a map.
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
abstract int |
getKeyCount()
The number of elements in the multikey. |
abstract java.util.List<java.lang.Object> |
getKeys()
The keys that make up the multikey. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JConchMultiKey
public JConchMultiKey()
getKeyCount
public abstract int getKeyCount()
- The number of elements in the multikey.
- Returns:
- The cardinality of this implementation.
getKeys
public abstract java.util.List<java.lang.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 java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object