Enum Constant and Description |
---|
ANSWERED |
BMARCHIVED |
DELETED |
DRAFT |
FLAGGED |
FORWARDED |
SEEN |
Modifier and Type | Method and Description |
---|---|
static Flag |
from(java.lang.String s) |
java.lang.String |
toString() |
static Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flag SEEN
public static final Flag DRAFT
public static final Flag DELETED
public static final Flag FLAGGED
public static final Flag ANSWERED
public static final Flag BMARCHIVED
public static final Flag FORWARDED
public static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Flag>
public static Flag from(java.lang.String s)
Copyright © 2021. All Rights Reserved.