public static enum Post.PostType extends java.lang.Enum<Post.PostType>
| Modifier and Type | Method and Description |
|---|---|
static Post.PostType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Post.PostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Post.PostType STANDARD
public static final Post.PostType NEWS
public static Post.PostType[] values()
for (Post.PostType c : Post.PostType.values()) System.out.println(c);
public static Post.PostType 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 null