public enum SearchResult extends Enum<SearchResult>
Enum Constant and Description |
---|
ADD_TO_A_NEW_PLAYLIST |
SHOW_NEXT_MATCH |
Modifier and Type | Method and Description |
---|---|
static SearchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchResult ADD_TO_A_NEW_PLAYLIST
public static final SearchResult SHOW_NEXT_MATCH
public static SearchResult[] values()
for (SearchResult c : SearchResult.values()) System.out.println(c);
public static SearchResult 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 nullCopyright © 2018 Ken Händel. All rights reserved.