@Test public void testIsEmpty() throws KettleValueException { LongHashIndex index = new LongHashIndex(); assertThat( "Empty index should return true.", index.isEmpty(), is( true ) ); index.put( 1L, 1L ); assertThat( "Not empty index should return false.", index.isEmpty(), is( false ) ); }
public boolean isEmpty() { return size == 0; }
LongHashIndex { public boolean isEmpty() { return size == 0; } }
LongHashIndex { public boolean isEmpty() { return size == 0; } LongHashIndex( int size );  LongHashIndex(); }
LongHashIndex { public boolean isEmpty() { return size == 0; } LongHashIndex( int size );  LongHashIndex(); int getSize(); boolean isEmpty(); Long get( long key ); void put( long key, Long value ); static int generateHashCode( Long key ); static int indexFor( int hash, int length ); }
LongHashIndex { public boolean isEmpty() { return size == 0; } LongHashIndex( int size );  LongHashIndex(); int getSize(); boolean isEmpty(); Long get( long key ); void put( long key, Long value ); static int generateHashCode( Long key ); static int indexFor( int hash, int length );  }