public class ConstraintViolationMessageComparator extends Object implements Comparator<ConstraintViolationMessage>
MessageTable
in the order of their occurence in the Gantt chart.Constructor and Description |
---|
ConstraintViolationMessageComparator(TreeTable treeTable)
Constructs a new comparator, which will be based on the given tree table.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(ConstraintViolationMessage m1,
ConstraintViolationMessage m2) |
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 ConstraintViolationMessageComparator(TreeTable treeTable)
treeTable
- the tree table used for looking up the row indices for the sorted constraint
violation messagespublic int compare(ConstraintViolationMessage m1, ConstraintViolationMessage m2)
compare
in interface Comparator<ConstraintViolationMessage>
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.