java.io.Serializable
, java.lang.Comparable<Score.Type>
public static enum Score.Type extends java.lang.Enum<Score.Type>
Enum Constant | Description |
---|---|
CURRICULUM |
|
MELEE |
Modifier and Type | Method | Description |
---|---|---|
static Score.Type |
from(SC2APIProtocol.ScoreOuterClass.Score.ScoreType sc2ApiScoreType) |
|
static Score.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Score.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Score.Type CURRICULUM
public static final Score.Type MELEE
public static Score.Type[] values()
for (Score.Type c : Score.Type.values()) System.out.println(c);
public static Score.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 nullpublic static Score.Type from(SC2APIProtocol.ScoreOuterClass.Score.ScoreType sc2ApiScoreType)
Copyright © 2017–2018 Ocraft Project. All rights reserved.