Class Sort.Alpha

java.lang.Object
VASSAL.tools.Sort.Alpha
All Implemented Interfaces:
Sort.Comparator
Enclosing class:
Sort

@Deprecated(since="2021-12-01", forRemoval=true) public static class Sort.Alpha extends Object implements Sort.Comparator
Deprecated, for removal: This API element is subject to removal in a future version.
Use the natural ordering on Strings instead. see java.lang.String.compareTo(String)
Compares two String objects
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Alpha

      public Alpha()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • compare

      public int compare(Object o1, Object o2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      compare in interface Sort.Comparator