gnu.trove
Class TFloatLongHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TFloatLongHashMap.EqProcedure
All Implemented Interfaces:
TFloatLongProcedure
Enclosing class:
TFloatLongHashMap

private static final class TFloatLongHashMap.EqProcedure
extends java.lang.Object
implements TFloatLongProcedure


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

TFloatLongHashMap.EqProcedure

TFloatLongHashMap.EqProcedure(TFloatLongHashMap otherMap)
Method Detail

execute

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