gnu.trove
Class TDoubleObjectHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TDoubleObjectHashMap.EqProcedure
All Implemented Interfaces:
TDoubleObjectProcedure
Enclosing class:
TDoubleObjectHashMap

private static final class TDoubleObjectHashMap.EqProcedure
extends java.lang.Object
implements TDoubleObjectProcedure


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

TDoubleObjectHashMap.EqProcedure

TDoubleObjectHashMap.EqProcedure(TDoubleObjectHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(java.lang.Object o1,
                         java.lang.Object o2)
Compare two objects for equality.