public enum FullEmptyEnum extends Enum<FullEmptyEnum>
Enum Constant and Description |
---|
EMPTY
Empty container
|
FULL
Full container
|
TOTAL
Full container
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
static FullEmptyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FullEmptyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FullEmptyEnum FULL
public static final FullEmptyEnum EMPTY
public static final FullEmptyEnum TOTAL
public static FullEmptyEnum[] values()
for (FullEmptyEnum c : FullEmptyEnum.values()) System.out.println(c);
public static FullEmptyEnum 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 getDescription()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.