public enum InclusiveExclusiveEnum extends Enum<InclusiveExclusiveEnum>
| Enum Constant and Description |
|---|
EXCLUSIVE
Represents exclusive.
|
INCLUSIVE
Represents inclusive.
|
| Modifier and Type | Method and Description |
|---|---|
int |
inclusiveExclusiveEnum()
Returns the attribute inclusiveExclusiveEnum.
|
static InclusiveExclusiveEnum |
of(int value)
Returns the object of inclusiveExclusiveEnum for.
|
static InclusiveExclusiveEnum |
of(String value)
Returns the object of inclusiveExclusiveEnum for.
|
String |
toString() |
static InclusiveExclusiveEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InclusiveExclusiveEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InclusiveExclusiveEnum INCLUSIVE
public static final InclusiveExclusiveEnum EXCLUSIVE
public static InclusiveExclusiveEnum[] values()
for (InclusiveExclusiveEnum c : InclusiveExclusiveEnum.values()) System.out.println(c);
public static InclusiveExclusiveEnum 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 InclusiveExclusiveEnum of(int value)
value - value of inclusiveExclusiveEnum forpublic static InclusiveExclusiveEnum of(String value)
value - value of inclusiveExclusiveEnum forpublic int inclusiveExclusiveEnum()
public String toString()
toString in class Enum<InclusiveExclusiveEnum>Copyright © 2018. All rights reserved.