public class SourceDescriptorComparator extends Object implements Comparator<SourceDescriptor>
SourceDescriptor
objectsConstructor and Description |
---|
SourceDescriptorComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SourceDescriptor one,
SourceDescriptor two)
Uses the
String #compareTo method on the lower-cased sourceId fields to sort |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(SourceDescriptor one, SourceDescriptor two)
String
#compareTo method on the lower-cased sourceId fields to sortcompare
in interface Comparator<SourceDescriptor>
This work is licensed under a Creative Commons Attribution 4.0 International License.