gnu.trove
Class TFloatByteHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TFloatByteHashMap.EqProcedure
All Implemented Interfaces:
TFloatByteProcedure
Enclosing class:
TFloatByteHashMap

private static final class TFloatByteHashMap.EqProcedure
extends java.lang.Object
implements TFloatByteProcedure


Field Summary
private  TFloatByteHashMap _otherMap
           
 
Constructor Summary
(package private) TFloatByteHashMap.EqProcedure(TFloatByteHashMap otherMap)
           
 
Method Summary
private  boolean eq(byte v1, byte v2)
          Compare two bytes for equality.
 boolean execute(float key, byte value)
          Executes this procedure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_otherMap

private final TFloatByteHashMap _otherMap
Constructor Detail

TFloatByteHashMap.EqProcedure

TFloatByteHashMap.EqProcedure(TFloatByteHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(byte v1,
                         byte v2)
Compare two bytes for equality.