public static enum MatchElement.Order extends Enum<MatchElement.Order> implements Comparator<MatchElement>
Enum Constant and Description |
---|
PRIORITY_AND_DISTANCE
Full ordering of match elements, including type distance.
|
PRIORITY_ONLY
Priority-only ordering, used for first-pass comparison of context matchers.
|
Modifier and Type | Method and Description |
---|---|
static MatchElement.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchElement.Order[] |
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, valueOf
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final MatchElement.Order PRIORITY_ONLY
public static final MatchElement.Order PRIORITY_AND_DISTANCE
public static MatchElement.Order[] values()
for (MatchElement.Order c : MatchElement.Order.values()) System.out.println(c);
public static MatchElement.Order 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 nullCopyright © 2016 GroupLens Research. All rights reserved.