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
KettleValueExceptionpublic void put(long key,
Long value)
throws KettleValueException
KettleValueExceptionpublic static int generateHashCode(Long key) throws KettleValueException
KettleValueExceptionpublic static int indexFor(int hash,
int length)