public enum Features extends Enum<Features>
| Enum Constant and Description |
|---|
DISTANCE_TO_ROOT |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
activate() |
Optional<String> |
deactivate() |
boolean |
isActive() |
Optional<String> |
set(String newValue) |
static Features |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Features[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Features DISTANCE_TO_ROOT
public static Features[] values()
for (Features c : Features.values()) System.out.println(c);
public static Features 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 boolean isActive()
Copyright © 2016–2021 Matthieu Brouillard. All rights reserved.