public static enum Post.TypeName extends Enum<Post.TypeName>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Post.TypeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Post.TypeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Post.TypeName Sidecar
public static final Post.TypeName Video
public static final Post.TypeName Image
public static final Post.TypeName Unknown
public static Post.TypeName[] values()
for (Post.TypeName c : Post.TypeName.values()) System.out.println(c);
public static Post.TypeName 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<Post.TypeName>Copyright © 2018. All rights reserved.