gnu.trove
Class TShortIntHashMap.HashProcedure

java.lang.Object
  extended bygnu.trove.TShortIntHashMap.HashProcedure
All Implemented Interfaces:
TShortIntProcedure
Enclosing class:
TShortIntHashMap

private final class TShortIntHashMap.HashProcedure
extends java.lang.Object
implements TShortIntProcedure


Field Summary
private  int h
           
 
Constructor Summary
private TShortIntHashMap.HashProcedure()
           
 
Method Summary
 boolean execute(short key, int value)
          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

TShortIntHashMap.HashProcedure

private TShortIntHashMap.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

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