org.iqual.chaplin
Enum Storage
java.lang.Object
java.lang.Enum<Storage>
org.iqual.chaplin.Storage
- All Implemented Interfaces:
- Serializable, Comparable<Storage>
public enum Storage
- extends Enum<Storage>
- Since:
- 22.11.2009 19:37:16
- Author:
- Zbynek Slajchrt
|
Method Summary |
static Storage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Storage[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
context
public static final Storage context
meta
public static final Storage meta
values
public static final Storage[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Storage c : Storage.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Storage valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2009 iquality.org. All Rights Reserved.