public class ConfigurationComparator extends Object implements Comparator<Configuration<?>>
Configuration objects.| Constructor and Description |
|---|
ConfigurationComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Configuration<?> first,
Configuration<?> second)
Compares two
Configuration objects for precedence. |
equals, 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(Configuration<?> first, Configuration<?> second)
Configuration objects for precedence. Returns a negative integer,
zero, or a positive integer as the first Configuration has higher, equal, or
lower precedence than the second.compare in interface Comparator<Configuration<?>>first - the first Configuration to be comparedsecond - the second Configuration to be comparedConfiguration has higher
precedence; zero if both objects have the same precedence; or a positive
integer as the first object has lower precedence than, equal to, or
greater than the second.Copyright © 2022. All rights reserved.