gnu.trove
Class THashSet.HashProcedure

java.lang.Object
  extended by gnu.trove.THashSet.HashProcedure
All Implemented Interfaces:
TObjectProcedure
Enclosing class:
THashSet

private final class THashSet.HashProcedure
extends java.lang.Object
implements TObjectProcedure


Field Summary
private  int h
           
 
Constructor Summary
private THashSet.HashProcedure()
           
 
Method Summary
 boolean execute(java.lang.Object 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

THashSet.HashProcedure

private THashSet.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

public final boolean execute(java.lang.Object key)
Description copied from interface: TObjectProcedure
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 TObjectProcedure
Parameters:
key - an Object value
Returns:
true if additional invocations of the procedure are allowed.