public enum Count extends Enum<Count>
| Enum Constant and Description |
|---|
FIVE
Enum value 5.
|
ONE
Enum value 1.
|
THREE
Enum value 3.
|
| Modifier and Type | Method and Description |
|---|---|
static Count |
fromInt(int value)
Parses a serialized value to a Count instance.
|
int |
toInt()
De-serializes the instance to int value.
|
static Count |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Count[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Count ONE
public static final Count THREE
public static final Count FIVE
public static Count[] values()
public static Count 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 static Count fromInt(int value)
value - the serialized value to parse.public int toInt()
Copyright © 2020 Microsoft Corporation. All rights reserved.