gnu.trove
Class TIntHashSet.HashProcedure

java.lang.Object
  extended by gnu.trove.TIntHashSet.HashProcedure
All Implemented Interfaces:
TIntProcedure
Enclosing class:
TIntHashSet

private final class TIntHashSet.HashProcedure
extends java.lang.Object
implements TIntProcedure


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

TIntHashSet.HashProcedure

private TIntHashSet.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

public final boolean execute(int key)
Description copied from interface: TIntProcedure
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 TIntProcedure
Parameters:
key - a value of type int
Returns:
true if additional invocations of the procedure are allowed.