gnu.trove
Class TDoubleFloatHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TDoubleFloatHashMap.EqProcedure
All Implemented Interfaces:
TDoubleFloatProcedure
Enclosing class:
TDoubleFloatHashMap

private static final class TDoubleFloatHashMap.EqProcedure
extends java.lang.Object
implements TDoubleFloatProcedure


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

TDoubleFloatHashMap.EqProcedure

TDoubleFloatHashMap.EqProcedure(TDoubleFloatHashMap otherMap)
Method Detail

execute

public final boolean execute(double key,
                             float value)
Description copied from interface: TDoubleFloatProcedure
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 TDoubleFloatProcedure
Parameters:
key - an double 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.