Class Inventory.CounterNode.CompareCounterNodes

java.lang.Object
VASSAL.build.module.Inventory.CounterNode.CompareCounterNodes
Direct Known Subclasses:
Inventory.CounterNode.Alpha, Inventory.CounterNode.LengthAlpha, Inventory.CounterNode.Numerical
Enclosing class:
Inventory.CounterNode

protected class Inventory.CounterNode.CompareCounterNodes extends Object
Base class for comparing two CounterNodes. Contains methods for sanity checking of arguments and comparing non-sane arguments.
Author:
spindler
  • Constructor Details

    • CompareCounterNodes

      protected CompareCounterNodes()
  • Method Details

    • argsOK

      protected boolean argsOK(Object arg0, Object arg1)
      Sanity check for arguments.
      Returns:
      true if arguments looks processable, false else
    • compareStrangeArgs

      protected int compareStrangeArgs(Object arg0, Object arg1)