Class Inventory.CounterNode.Numerical

java.lang.Object
VASSAL.build.module.Inventory.CounterNode.CompareCounterNodes
VASSAL.build.module.Inventory.CounterNode.Numerical
All Implemented Interfaces:
Comparator<Inventory.CounterNode>
Enclosing class:
Inventory.CounterNode

protected class Inventory.CounterNode.Numerical extends Inventory.CounterNode.CompareCounterNodes implements Comparator<Inventory.CounterNode>
Compare two CounterNodes based on the first integer value found in their SortKeys. If a CounterNodes SortKey does not contain an integer at all it is assigned the lowest available integer.
Author:
spindler