Class SelectDestination.BinRange
java.lang.Object
org.jpos.transaction.participant.SelectDestination.BinRange
- All Implemented Interfaces:
Comparable
- Enclosing class:
SelectDestination
Inclusive numeric BIN range mapped to a routing destination.
-
Method Summary
-
Method Details
-
equals
-
hashCode
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable
-
isInRange
Indicates whetherifalls inside this range (inclusive).- Parameters:
i- candidate BIN value- Returns:
trueiflow <= i <= high
-
destination
Returns the destination assigned to this range.- Returns:
- destination identifier
-