clarion.acs.net.auxiliary
Class KeyToValue

java.lang.Object
  extended byclarion.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)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 java.util.BitSet getKeys()
           
 int getSize()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

protected int size

keys

protected java.util.BitSet keys
Constructor Detail

KeyToValue

public KeyToValue(int size0,
                  int size1,
                  short[][][] action,
                  short[] offsets0,
                  short[] offsets1)
Method Detail

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