gnu.trove
Class TByteLongHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TByteLongHashMap.EqProcedure
All Implemented Interfaces:
TByteLongProcedure
Enclosing class:
TByteLongHashMap

private static final class TByteLongHashMap.EqProcedure
extends java.lang.Object
implements TByteLongProcedure


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

TByteLongHashMap.EqProcedure

TByteLongHashMap.EqProcedure(TByteLongHashMap otherMap)
Method Detail

execute

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