public class LongHashIndex extends Object
Constructor and Description |
---|
LongHashIndex()
Create a new long/long hash index
|
LongHashIndex(int size)
Create a new long/long hash index
|
public LongHashIndex(int size)
size
- the initial size of the hash indexpublic LongHashIndex()
public int getSize()
public boolean isEmpty()
public Long get(long key) throws KettleValueException
KettleValueException
public void put(long key, Long value) throws KettleValueException
KettleValueException
public static int generateHashCode(Long key) throws KettleValueException
KettleValueException