public enum OpeningResult extends Enum<OpeningResult>
| Enum Constant and Description | 
|---|
NEWLY_OPENED  | 
WAS_OPENED_ALREADY  | 
| Modifier and Type | Method and Description | 
|---|---|
static OpeningResult | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static OpeningResult[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final OpeningResult NEWLY_OPENED
public static final OpeningResult WAS_OPENED_ALREADY
public static OpeningResult[] values()
for (OpeningResult c : OpeningResult.values()) System.out.println(c);
public static OpeningResult 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 © 2016–2025. All rights reserved.