public static enum Endpoint.Type extends Enum<Endpoint.Type>
| Enum Constant and Description |
|---|
BINARY
Boolean / On-off / True-false values
|
INTEGER
Integer numbers
|
NUMBER
Numbers (represented as double values
|
STRING
Text values
|
| Modifier and Type | Method and Description |
|---|---|
static Endpoint.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Endpoint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Endpoint.Type NUMBER
public static final Endpoint.Type INTEGER
public static final Endpoint.Type STRING
public static final Endpoint.Type BINARY
public static Endpoint.Type[] values()
for (Endpoint.Type c : Endpoint.Type.values()) System.out.println(c);
public static Endpoint.Type 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 nullCopyright © 2015. All rights reserved.