public static enum RiotApi.RateType extends java.lang.Enum<RiotApi.RateType>
| Modifier and Type | Method and Description |
|---|---|
static RiotApi.RateType |
from(java.lang.String s) |
java.lang.String |
toString() |
static RiotApi.RateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RiotApi.RateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RiotApi.RateType PERSONAL
public static final RiotApi.RateType SERVICE
public static RiotApi.RateType[] values()
for (RiotApi.RateType c : RiotApi.RateType.values()) System.out.println(c);
public static RiotApi.RateType 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 toString()
toString in class java.lang.Enum<RiotApi.RateType>public static RiotApi.RateType from(java.lang.String s)