gnu.trove
Class TDoubleLongHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TDoubleLongHashMap.EqProcedure
All Implemented Interfaces:
TDoubleLongProcedure
Enclosing class:
TDoubleLongHashMap

private static final class TDoubleLongHashMap.EqProcedure
extends java.lang.Object
implements TDoubleLongProcedure


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

TDoubleLongHashMap.EqProcedure

TDoubleLongHashMap.EqProcedure(TDoubleLongHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(long v1,
                         long v2)
Compare two longs for equality.