gnu.trove
Class TIntShortHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TIntShortHashMap.EqProcedure
All Implemented Interfaces:
TIntShortProcedure
Enclosing class:
TIntShortHashMap

private static final class TIntShortHashMap.EqProcedure
extends java.lang.Object
implements TIntShortProcedure


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

TIntShortHashMap.EqProcedure

TIntShortHashMap.EqProcedure(TIntShortHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(short v1,
                         short v2)
Compare two shorts for equality.