gnu.trove
Class TByteShortHashMap.HashProcedure

java.lang.Object
  extended bygnu.trove.TByteShortHashMap.HashProcedure
All Implemented Interfaces:
TByteShortProcedure
Enclosing class:
TByteShortHashMap

private final class TByteShortHashMap.HashProcedure
extends java.lang.Object
implements TByteShortProcedure


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

TByteShortHashMap.HashProcedure

private TByteShortHashMap.HashProcedure()
Method Detail

getHashCode

public int getHashCode()

execute

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