gnu.trove
Class TShortObjectHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TShortObjectHashMap.EqProcedure
All Implemented Interfaces:
TShortObjectProcedure
Enclosing class:
TShortObjectHashMap

private static final class TShortObjectHashMap.EqProcedure
extends java.lang.Object
implements TShortObjectProcedure


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

TShortObjectHashMap.EqProcedure

TShortObjectHashMap.EqProcedure(TShortObjectHashMap otherMap)
Method Detail

execute

public final boolean execute(short key,
                             java.lang.Object value)
Description copied from interface: TShortObjectProcedure
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 TShortObjectProcedure
Parameters:
key - an short 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.