public static class ScoreOrderFragmentsBuilder.ScoreComparator extends Object implements Comparator<FieldFragList.WeightedFragInfo>
FieldFragList.WeightedFragInfo by boost, breaking ties
by offset.| Constructor and Description |
|---|
ScoreComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(FieldFragList.WeightedFragInfo o1,
FieldFragList.WeightedFragInfo o2) |
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(FieldFragList.WeightedFragInfo o1, FieldFragList.WeightedFragInfo o2)
compare in interface Comparator<FieldFragList.WeightedFragInfo>Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.