jconch.multikey
Class UniKey<KEY_T>
java.lang.Object
jconch.multikey.JConchMultiKey
jconch.multikey.UniKey<KEY_T>
- Direct Known Subclasses:
- DuoKey
public class UniKey<KEY_T>
- extends JConchMultiKey
A holder for a single key.
UniKey
public UniKey(KEY_T key)
getKeyCount
public int getKeyCount()
- Description copied from class:
JConchMultiKey
- The number of elements in the multikey.
- Specified by:
getKeyCount in class JConchMultiKey
- Returns:
- The cardinality of this implementation.
getKey1
public KEY_T getKey1()
getKeys
public List<Object> getKeys()
- Description copied from class:
JConchMultiKey
- The keys that make up the multikey.
- Specified by:
getKeys in class JConchMultiKey
- Returns:
- An unmodifiable list of keys that make up the map.