public enum RangeType extends Enum<RangeType>
| Enum Constant and Description |
|---|
PARTY
Party range type.
|
USER
User range type.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
type |
| Modifier and Type | Method and Description |
|---|---|
static RangeType |
deserialize(int type)
Deserialize range type.
|
int |
getType()
Gets type.
|
static RangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeType USER
public static final RangeType PARTY
public static RangeType[] values()
for (RangeType c : RangeType.values()) System.out.println(c);
public static RangeType 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 nullpublic int getType()
public static RangeType deserialize(int type)
type - the typeCopyright © 2025. All rights reserved.