gnu.trove
Class TFloatFloatHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TFloatFloatHashMap.EqProcedure
All Implemented Interfaces:
TFloatFloatProcedure
Enclosing class:
TFloatFloatHashMap

private static final class TFloatFloatHashMap.EqProcedure
extends java.lang.Object
implements TFloatFloatProcedure


Field Summary
private  TFloatFloatHashMap _otherMap
           
 
Constructor Summary
TFloatFloatHashMap.EqProcedure(TFloatFloatHashMap otherMap)
           
 
Method Summary
private  boolean eq(float v1, float v2)
          Compare two floats for equality.
 boolean execute(float key, float 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 TFloatFloatHashMap _otherMap
Constructor Detail

TFloatFloatHashMap.EqProcedure

TFloatFloatHashMap.EqProcedure(TFloatFloatHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(float v1,
                         float v2)
Compare two floats for equality.