Class State.StateComparator

java.lang.Object
mc.core.model.cc.State.StateComparator
All Implemented Interfaces:
Comparator<State>
Enclosing class:
State

public static class State.StateComparator extends Object implements Comparator<State>
compares two states first by their state group (locale indepenedent state groups first, then ordered by display in given locale), if same state group and locale dependent, compares by locale display, then by state group type. states must be attached!
  • Constructor Details

    • StateComparator

      public StateComparator(Locale locale)
  • Method Details