public enum TiesStrategy extends Enum<TiesStrategy>
Enum Constant and Description |
---|
AVERAGE
Ties get the average of applicable ranks
|
MAXIMUM
Ties get the maximum applicable rank
|
MINIMUM
Ties get the minimum applicable rank
|
RANDOM
Ties get a random integral value from among applicable ranks
|
SEQUENTIAL
Ties assigned sequential ranks in order of occurrence
|
Modifier and Type | Method and Description |
---|---|
static TiesStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiesStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiesStrategy SEQUENTIAL
public static final TiesStrategy MINIMUM
public static final TiesStrategy MAXIMUM
public static final TiesStrategy AVERAGE
public static final TiesStrategy RANDOM
public static TiesStrategy[] values()
for (TiesStrategy c : TiesStrategy.values()) System.out.println(c);
public static TiesStrategy 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 © 2003–2016 The Apache Software Foundation. All rights reserved.