public enum RankedBy extends Enum<RankedBy>
More information about the ranking systems can be found here
| Enum Constant and Description |
|---|
CUSTOM |
GAME_WINS |
MATCH_WINS |
POINT_SCORED |
POINTS_DIFFERENCE |
| Modifier and Type | Method and Description |
|---|---|
static RankedBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RankedBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RankedBy MATCH_WINS
public static final RankedBy GAME_WINS
public static final RankedBy POINT_SCORED
public static final RankedBy POINTS_DIFFERENCE
public static final RankedBy CUSTOM
public static RankedBy[] values()
for (RankedBy c : RankedBy.values()) System.out.println(c);
public static RankedBy 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. All rights reserved.