gnu.trove
Class TIntLongHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TIntLongHashMap.EqProcedure
All Implemented Interfaces:
TIntLongProcedure
Enclosing class:
TIntLongHashMap

private static final class TIntLongHashMap.EqProcedure
extends java.lang.Object
implements TIntLongProcedure


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

TIntLongHashMap.EqProcedure

TIntLongHashMap.EqProcedure(TIntLongHashMap otherMap)
Method Detail

execute

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