public enum RankingType extends java.lang.Enum<RankingType>
Enum Constant and Description |
---|
DENSE
RankingType.DENSE
|
STANDARD
RankingType.STANDARD
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStatusDescription() |
static RankingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RankingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RankingType STANDARD
If 'A' ranks ahead of 'B' and 'C' (which compare equal) which are both ranked ahead of 'D', then 'A' gets ranking number 1 (first), 'B' gets ranking number 2 (joint second), 'C' also gets ranking number 2 (joint second)and 'D' gets ranking number 4 (fourth). In this case, nobody would get ranking number 3 (third) and that would be left as a gap.
public static final RankingType DENSE
If 'A' ranks ahead of 'B' and 'C' (which compare equal) which are both ranked ahead of 'D' then 'A' gets ranking number 1 (first), 'B' gets ranking number 2 (joint second), 'C' also gets ranking number 2 (joint second) and 'D' gets ranking number 3 (third).
public static RankingType[] values()
for (RankingType c : RankingType.values()) System.out.println(c);
public static RankingType 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 nullpublic java.lang.String getStatusDescription()