public static enum ElementOrderMethod.Type extends java.lang.Enum<ElementOrderMethod.Type>
| Enum Constant and Description |
|---|
COMPARATOR
Usage of an actual comparator instance to order the elements.
|
GUAVA_COMPARATOR
Use the Guava node order comparator.
|
INTERNAL
An internal numbering scheme backed by a map.
|
NATURAL
Natural ordering.
|
| Modifier and Type | Method and Description |
|---|---|
static ElementOrderMethod.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElementOrderMethod.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementOrderMethod.Type COMPARATOR
public static final ElementOrderMethod.Type NATURAL
ClassCastException if the elements
are not comparable.public static final ElementOrderMethod.Type GUAVA_COMPARATOR
public static final ElementOrderMethod.Type INTERNAL
public static ElementOrderMethod.Type[] values()
for (ElementOrderMethod.Type c : ElementOrderMethod.Type.values()) System.out.println(c);
public static ElementOrderMethod.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2021. All rights reserved.