public static class OPS.OpsPrecedenceComparator extends Object implements Comparator<OPS>
| Constructor and Description |
|---|
OpsPrecedenceComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(OPS ops,
OPS ops1)
The order we want to apply Defaultr logic is Literals, Or, and then Star.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(OPS ops, OPS ops1)
compare in interface Comparator<OPS>Copyright © 2023. All rights reserved.