clarion.acs.net.auxiliary
Class KeyToValue
java.lang.Object
clarion.acs.net.auxiliary.KeyToValue
- All Implemented Interfaces:
- java.lang.Comparable
- public class KeyToValue
- extends java.lang.Object
- implements java.lang.Comparable
This class implements the key to elements in a collection which stores huge
number of action chunks.
Field Summary |
protected java.util.BitSet |
keys
|
protected int |
size
|
Constructor Summary |
KeyToValue(int size0,
int size1,
short[][][] action,
short[] offsets0,
short[] offsets1)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
size
protected int size
keys
protected java.util.BitSet keys
KeyToValue
public KeyToValue(int size0,
int size1,
short[][][] action,
short[] offsets0,
short[] offsets1)
getSize
public int getSize()
getKeys
public java.util.BitSet getKeys()
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object obj)
compareTo
public int compareTo(java.lang.Object obj)
throws java.lang.ClassCastException
- Specified by:
compareTo
in interface java.lang.Comparable
- Throws:
java.lang.ClassCastException