Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pentaho.di.core.hash
Class LongHashIndex

    java.lang.Object
      org.pentaho.di.core.hash.LongHashIndex

    public class LongHashIndex

extends Object

Constructor Summary
`LongHashIndex()` Create a new long/long hash index
`LongHashIndex(int size)` Create a new long/long hash index

Method Summary
`static int` | `generateHashCode(Long key)`
`Long` | `get(long key)`
`int` | `getSize()`
`boolean` | `isEmpty()`
`void` | `put(long key, Long value)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD