public static enum TodoData.StatusEnum extends Enum<TodoData.StatusEnum>
| Modifier and Type | Method and Description |
|---|---|
static TodoData.StatusEnum |
fromValue(String text) |
String |
toString() |
static TodoData.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TodoData.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TodoData.StatusEnum OPEN
public static final TodoData.StatusEnum DISMISSED
public static final TodoData.StatusEnum DONE
public static TodoData.StatusEnum[] values()
for (TodoData.StatusEnum c : TodoData.StatusEnum.values()) System.out.println(c);
public static TodoData.StatusEnum 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 String toString()
toString in class Enum<TodoData.StatusEnum>public static TodoData.StatusEnum fromValue(String text)
Copyright © 2019 LeanIX GmbH. All rights reserved.