gnu.trove
Class TDoubleHashSet.HashProcedure

java.lang.Object
  extended by gnu.trove.TDoubleHashSet.HashProcedure
All Implemented Interfaces:
TDoubleProcedure
Enclosing class:
TDoubleHashSet

private final class TDoubleHashSet.HashProcedure
extends java.lang.Object
implements TDoubleProcedure


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

TDoubleHashSet.HashProcedure

private TDoubleHashSet.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

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