Package io.netty.buffer
Enum AbstractByteBufGetCharSequenceBenchmark.ByteBufType
- java.lang.Object
-
- java.lang.Enum<AbstractByteBufGetCharSequenceBenchmark.ByteBufType>
-
- io.netty.buffer.AbstractByteBufGetCharSequenceBenchmark.ByteBufType
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractByteBufGetCharSequenceBenchmark.ByteBufType>
- Enclosing class:
- AbstractByteBufGetCharSequenceBenchmark
public static enum AbstractByteBufGetCharSequenceBenchmark.ByteBufType extends Enum<AbstractByteBufGetCharSequenceBenchmark.ByteBufType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTIVE_DIRECTADAPTIVE_HEAPCOMPOSITEDIRECTHEAPHEAP_OFFSETPOOLED_DIRECTPOOLED_HEAP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractByteBufGetCharSequenceBenchmark.ByteBufTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractByteBufGetCharSequenceBenchmark.ByteBufType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECT
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType DIRECT
-
HEAP_OFFSET
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType HEAP_OFFSET
-
HEAP
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType HEAP
-
POOLED_HEAP
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType POOLED_HEAP
-
POOLED_DIRECT
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType POOLED_DIRECT
-
ADAPTIVE_HEAP
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType ADAPTIVE_HEAP
-
ADAPTIVE_DIRECT
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType ADAPTIVE_DIRECT
-
COMPOSITE
public static final AbstractByteBufGetCharSequenceBenchmark.ByteBufType COMPOSITE
-
-
Method Detail
-
values
public static AbstractByteBufGetCharSequenceBenchmark.ByteBufType[] 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 (AbstractByteBufGetCharSequenceBenchmark.ByteBufType c : AbstractByteBufGetCharSequenceBenchmark.ByteBufType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractByteBufGetCharSequenceBenchmark.ByteBufType 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 nameNullPointerException- if the argument is null
-
-