de.undercouch.bson4jackson.io
Enum StaticBuffers.Key
java.lang.Object
java.lang.Enum<StaticBuffers.Key>
de.undercouch.bson4jackson.io.StaticBuffers.Key
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StaticBuffers.Key>
- Enclosing class:
- StaticBuffers
public static enum StaticBuffers.Key
- extends java.lang.Enum<StaticBuffers.Key>
Possible buffer keys
|
Method Summary |
static StaticBuffers.Key |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StaticBuffers.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BUFFER0
public static final StaticBuffers.Key BUFFER0
BUFFER1
public static final StaticBuffers.Key BUFFER1
BUFFER2
public static final StaticBuffers.Key BUFFER2
BUFFER3
public static final StaticBuffers.Key BUFFER3
BUFFER4
public static final StaticBuffers.Key BUFFER4
BUFFER5
public static final StaticBuffers.Key BUFFER5
BUFFER6
public static final StaticBuffers.Key BUFFER6
BUFFER7
public static final StaticBuffers.Key BUFFER7
BUFFER8
public static final StaticBuffers.Key BUFFER8
BUFFER9
public static final StaticBuffers.Key BUFFER9
values
public static StaticBuffers.Key[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (StaticBuffers.Key c : StaticBuffers.Key.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StaticBuffers.Key valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null