gnu.trove
Class TObjectIntHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TObjectIntHashMap.EqProcedure
All Implemented Interfaces:
TObjectIntProcedure
Enclosing class:
TObjectIntHashMap

private static final class TObjectIntHashMap.EqProcedure
extends java.lang.Object
implements TObjectIntProcedure


Field Summary
private  TObjectIntHashMap _otherMap
           
 
Constructor Summary
TObjectIntHashMap.EqProcedure(TObjectIntHashMap otherMap)
           
 
Method Summary
private  boolean eq(int v1, int v2)
          Compare two ints for equality.
 boolean execute(java.lang.Object key, int 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 TObjectIntHashMap _otherMap
Constructor Detail

TObjectIntHashMap.EqProcedure

TObjectIntHashMap.EqProcedure(TObjectIntHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(int v1,
                         int v2)
Compare two ints for equality.