gnu.trove
Class TIntObjectHashMap.EqProcedure

java.lang.Object
  extended by gnu.trove.TIntObjectHashMap.EqProcedure
All Implemented Interfaces:
TIntObjectProcedure
Enclosing class:
TIntObjectHashMap

private static final class TIntObjectHashMap.EqProcedure
extends java.lang.Object
implements TIntObjectProcedure


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

TIntObjectHashMap.EqProcedure

TIntObjectHashMap.EqProcedure(TIntObjectHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(java.lang.Object o1,
                         java.lang.Object o2)
Compare two objects for equality.