gnu.trove
Class TLongLongHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TLongLongHashMap.EqProcedure
All Implemented Interfaces:
TLongLongProcedure
Enclosing class:
TLongLongHashMap

private static final class TLongLongHashMap.EqProcedure
extends java.lang.Object
implements TLongLongProcedure


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

TLongLongHashMap.EqProcedure

TLongLongHashMap.EqProcedure(TLongLongHashMap otherMap)
Method Detail

execute

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