gnu.trove
Class TObjectDoubleHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TObjectDoubleHashMap.EqProcedure
All Implemented Interfaces:
TObjectDoubleProcedure
Enclosing class:
TObjectDoubleHashMap

private static final class TObjectDoubleHashMap.EqProcedure
extends java.lang.Object
implements TObjectDoubleProcedure


Field Summary
private  TObjectDoubleHashMap _otherMap
           
 
Constructor Summary
TObjectDoubleHashMap.EqProcedure(TObjectDoubleHashMap otherMap)
           
 
Method Summary
private  boolean eq(double v1, double v2)
          Compare two doubles for equality.
 boolean execute(java.lang.Object key, double 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 TObjectDoubleHashMap _otherMap
Constructor Detail

TObjectDoubleHashMap.EqProcedure

TObjectDoubleHashMap.EqProcedure(TObjectDoubleHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(double v1,
                         double v2)
Compare two doubles for equality.