Modifier and Type | Field and Description |
---|---|
static java.util.Collection<ItemFlag> |
SEEN |
int |
value |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<ItemFlag> |
flags(int v) |
static int |
value(java.util.Collection<ItemFlag> flags) |
static ItemFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemFlag Seen
public static final ItemFlag Deleted
public static final ItemFlag Important
public static final java.util.Collection<ItemFlag> SEEN
public final int value
public static ItemFlag[] values()
for (ItemFlag c : ItemFlag.values()) System.out.println(c);
public static ItemFlag 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 static int value(java.util.Collection<ItemFlag> flags)
public static java.util.Collection<ItemFlag> flags(int v)
Copyright © 2021. All Rights Reserved.