Package VASSAL.build.module
Class Inventory.CounterNode.LengthAlpha
java.lang.Object
VASSAL.build.module.Inventory.CounterNode.CompareCounterNodes
VASSAL.build.module.Inventory.CounterNode.LengthAlpha
- All Implemented Interfaces:
Comparator<Inventory.CounterNode>
- Enclosing class:
- Inventory.CounterNode
protected class Inventory.CounterNode.LengthAlpha extends Inventory.CounterNode.CompareCounterNodes implements Comparator<Inventory.CounterNode>
Compare two CounterNodes based on the length of their SortKeys and
alphanumerical sorting.
- Author:
- spindler
-
Constructor Summary
Constructors Modifier Constructor Description protected
LengthAlpha()
-
Method Summary
Modifier and Type Method Description int
compare(Inventory.CounterNode left, Inventory.CounterNode right)
Methods inherited from class VASSAL.build.module.Inventory.CounterNode.CompareCounterNodes
argsOK, compareStrangeArgs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
LengthAlpha
protected LengthAlpha()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Inventory.CounterNode>
-