public static class Scufl2Tools.BindingComparator extends Object implements Comparator<ProcessorBinding>
ProcessorBinding
s by their
ProcessorBinding.getActivityPosition()
.
Note: this comparator imposes orderings that are inconsistent with equals.
Constructor and Description |
---|
BindingComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ProcessorBinding o1,
ProcessorBinding o2) |
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(ProcessorBinding o1, ProcessorBinding o2)
compare
in interface Comparator<ProcessorBinding>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.