Package com.amazon.ion.impl.bin
Enum _Private_IonManagedBinaryWriterBuilder.AllocatorMode
- java.lang.Object
-
- java.lang.Enum<_Private_IonManagedBinaryWriterBuilder.AllocatorMode>
-
- com.amazon.ion.impl.bin._Private_IonManagedBinaryWriterBuilder.AllocatorMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<_Private_IonManagedBinaryWriterBuilder.AllocatorMode>
- Enclosing class:
- _Private_IonManagedBinaryWriterBuilder
public static enum _Private_IonManagedBinaryWriterBuilder.AllocatorMode extends java.lang.Enum<_Private_IonManagedBinaryWriterBuilder.AllocatorMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static _Private_IonManagedBinaryWriterBuilder.AllocatorModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static _Private_IonManagedBinaryWriterBuilder.AllocatorMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POOLED
public static final _Private_IonManagedBinaryWriterBuilder.AllocatorMode POOLED
-
BASIC
public static final _Private_IonManagedBinaryWriterBuilder.AllocatorMode BASIC
-
-
Method Detail
-
values
public static _Private_IonManagedBinaryWriterBuilder.AllocatorMode[] 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 (_Private_IonManagedBinaryWriterBuilder.AllocatorMode c : _Private_IonManagedBinaryWriterBuilder.AllocatorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static _Private_IonManagedBinaryWriterBuilder.AllocatorMode 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 namejava.lang.NullPointerException- if the argument is null
-
-