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 -
Method Summary
Modifier and TypeMethodDescriptionintcompare(Inventory.CounterNode left, Inventory.CounterNode right) Methods inherited from class Inventory.CounterNode.CompareCounterNodes
argsOK, compareStrangeArgsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
LengthAlpha
protected LengthAlpha()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Inventory.CounterNode>
-