gnu.trove
Class TShortIntHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TShortIntHashMap.EqProcedure
All Implemented Interfaces:
TShortIntProcedure
Enclosing class:
TShortIntHashMap

private static final class TShortIntHashMap.EqProcedure
extends java.lang.Object
implements TShortIntProcedure


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

TShortIntHashMap.EqProcedure

TShortIntHashMap.EqProcedure(TShortIntHashMap otherMap)
Method Detail

execute

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