gnu.trove
Class TDoubleByteHashMap.EqProcedure

java.lang.Object
  extended bygnu.trove.TDoubleByteHashMap.EqProcedure
All Implemented Interfaces:
TDoubleByteProcedure
Enclosing class:
TDoubleByteHashMap

private static final class TDoubleByteHashMap.EqProcedure
extends java.lang.Object
implements TDoubleByteProcedure


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

TDoubleByteHashMap.EqProcedure

TDoubleByteHashMap.EqProcedure(TDoubleByteHashMap otherMap)
Method Detail

execute

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

eq

private final boolean eq(byte v1,
                         byte v2)
Compare two bytes for equality.