public static enum LazyTreeView.InterNodeDescriptor.Sort extends Enum<LazyTreeView.InterNodeDescriptor.Sort> implements Comparator<Map.Entry<String,DisplayChannel>>
InterNode.| Enum Constant and Description |
|---|
ALPHABETIC
Alphabetic sorting by display path.
|
NONE
No sorting - channels are displayed or passed to children in the order in which they were supplied by the parent.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compare(Map.Entry<String,DisplayChannel> o1,
Map.Entry<String,DisplayChannel> o2) |
static LazyTreeView.InterNodeDescriptor.Sort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LazyTreeView.InterNodeDescriptor.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final LazyTreeView.InterNodeDescriptor.Sort NONE
public static final LazyTreeView.InterNodeDescriptor.Sort ALPHABETIC
public static LazyTreeView.InterNodeDescriptor.Sort[] values()
for (LazyTreeView.InterNodeDescriptor.Sort c : LazyTreeView.InterNodeDescriptor.Sort.values()) System.out.println(c);
public static LazyTreeView.InterNodeDescriptor.Sort valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract int compare(Map.Entry<String,DisplayChannel> o1, Map.Entry<String,DisplayChannel> o2)
compare in interface Comparator<Map.Entry<String,DisplayChannel>>Copyright © 2023 LSST. All rights reserved.