gnu.trove
Class TIntIntHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TIntIntHashMap.EqProcedure
All Implemented Interfaces:
TIntIntProcedure
Enclosing class:
TIntIntHashMap

private static final class TIntIntHashMap.EqProcedure
extends java.lang.Object
implements TIntIntProcedure


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

TIntIntHashMap.EqProcedure

TIntIntHashMap.EqProcedure(TIntIntHashMap otherMap)
Method Detail

execute

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