org.pentaho.di.core.hash
Class LongHashIndex
java.lang.Object
org.pentaho.di.core.hash.LongHashIndex
public class LongHashIndex
- extends Object
LongHashIndex
public LongHashIndex(int size)
- Create a new long/long hash index
- Parameters:
size
- the initial size of the hash index
LongHashIndex
public LongHashIndex()
- Create a new long/long hash index
getSize
public int getSize()
isEmpty
public boolean isEmpty()
get
public Long get(long key)
throws KettleValueException
- Throws:
KettleValueException
put
public void put(long key,
Long value)
throws KettleValueException
- Throws:
KettleValueException
generateHashCode
public static int generateHashCode(Long key)
throws KettleValueException
- Throws:
KettleValueException