gnu.trove
Class TLongHashSet.HashProcedure

java.lang.Object
  extended by gnu.trove.TLongHashSet.HashProcedure
All Implemented Interfaces:
TLongProcedure
Enclosing class:
TLongHashSet

private final class TLongHashSet.HashProcedure
extends java.lang.Object
implements TLongProcedure


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

TLongHashSet.HashProcedure

private TLongHashSet.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

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