gnu.trove
Class TByteDoubleHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TByteDoubleHashMap.EqProcedure
All Implemented Interfaces:
TByteDoubleProcedure
Enclosing class:
TByteDoubleHashMap

private static final class TByteDoubleHashMap.EqProcedure
extends java.lang.Object
implements TByteDoubleProcedure


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

TByteDoubleHashMap.EqProcedure

TByteDoubleHashMap.EqProcedure(TByteDoubleHashMap otherMap)
Method Detail

execute

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