gnu.trove
Class TShortByteHashMap.HashProcedure

java.lang.Object
  extended bygnu.trove.TShortByteHashMap.HashProcedure
All Implemented Interfaces:
TShortByteProcedure
Enclosing class:
TShortByteHashMap

private final class TShortByteHashMap.HashProcedure
extends java.lang.Object
implements TShortByteProcedure


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

TShortByteHashMap.HashProcedure

private TShortByteHashMap.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

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