gnu.trove
Class TShortHashSet.HashProcedure

java.lang.Object
  extended bygnu.trove.TShortHashSet.HashProcedure
All Implemented Interfaces:
TShortProcedure
Enclosing class:
TShortHashSet

private final class TShortHashSet.HashProcedure
extends java.lang.Object
implements TShortProcedure


Field Summary
private  int h
           
 
Constructor Summary
private TShortHashSet.HashProcedure()
           
 
Method Summary
 boolean execute(short key)
          Executes this procedure.
 int getHashCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

h

private int h
Constructor Detail

TShortHashSet.HashProcedure

private TShortHashSet.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

public final boolean execute(short key)
Description copied from interface: TShortProcedure
Executes this procedure. A false return value indicates that the application executing this procedure should not invoke this procedure again.

Specified by:
execute in interface TShortProcedure
Parameters:
key - a value of type short
Returns:
true if additional invocations of the procedure are allowed.