public enum IndexedValue extends Enum<IndexedValue>
Modifier and Type | Method and Description |
---|---|
static IndexedValue |
getIndexedValue(String value)
Obtain a IndexedValue for the given name by
value |
static IndexedValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexedValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexedValue TRUE
public static final IndexedValue FALSE
public static final IndexedValue UNIQUE
public static IndexedValue[] values()
for (IndexedValue c : IndexedValue.values()) System.out.println(c);
public static IndexedValue 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 IndexedValue getIndexedValue(String value)
value
value
- the namevalue
is null, returns null.Copyright © 2019. All rights reserved.