public class WidgetTypeDefinitionComparator extends Object implements Comparator<WidgetTypeDefinition>
Modifier and Type | Field and Description |
---|---|
protected boolean |
compareLabels |
Constructor and Description |
---|
WidgetTypeDefinitionComparator(boolean compareLabels) |
Modifier and Type | Method and Description |
---|---|
int |
compare(WidgetTypeDefinition o1,
WidgetTypeDefinition o2) |
protected String |
getComparisonString(WidgetTypeDefinition def) |
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
protected boolean compareLabels
public WidgetTypeDefinitionComparator(boolean compareLabels)
public int compare(WidgetTypeDefinition o1, WidgetTypeDefinition o2)
compare
in interface Comparator<WidgetTypeDefinition>
protected String getComparisonString(WidgetTypeDefinition def)
Copyright © 2018 Nuxeo. All rights reserved.