class LongHashIndex {

  public Long get( long key ) throws HopValueException {
    int hashCode = generateHashCode( key );

    int indexPointer = indexFor( hashCode, index.length );
    LongHashIndexEntry check = index[ indexPointer ];

    while ( check != null ) {
      if ( check.hashCode == hashCode && check.equalsKey( key ) ) {
        return check.value;
      }
      check = check.nextEntry;
    }
    return null;
  }

  public  LongHashIndex( int size );
  public  LongHashIndex();

}