public enum EditorialSegment extends Enum<EditorialSegment>
| Enum Constant and Description |
|---|
ARCHIVAL |
ENTERTAINMENT |
NEWS |
NONE |
PUBLICITY |
ROYALTY |
SPORT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static EditorialSegment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditorialSegment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditorialSegment NONE
public static final EditorialSegment ARCHIVAL
public static final EditorialSegment ENTERTAINMENT
public static final EditorialSegment NEWS
public static final EditorialSegment PUBLICITY
public static final EditorialSegment ROYALTY
public static final EditorialSegment SPORT
public static EditorialSegment[] values()
for (EditorialSegment c : EditorialSegment.values()) System.out.println(c);
public static EditorialSegment 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<EditorialSegment>Copyright © 2020. All rights reserved.