Package io.netty.buffer
Enum CompositeByteBufSequentialBenchmark.ByteBufType
- java.lang.Object
-
- java.lang.Enum<CompositeByteBufSequentialBenchmark.ByteBufType>
-
- io.netty.buffer.CompositeByteBufSequentialBenchmark.ByteBufType
-
- All Implemented Interfaces:
Serializable,Comparable<CompositeByteBufSequentialBenchmark.ByteBufType>
- Enclosing class:
- CompositeByteBufSequentialBenchmark
public static enum CompositeByteBufSequentialBenchmark.ByteBufType extends Enum<CompositeByteBufSequentialBenchmark.ByteBufType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LARGE_CHUNKSLARGE_CHUNKS_DIRECTSMALL_CHUNKSSMALL_CHUNKS_DIRECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompositeByteBufSequentialBenchmark.ByteBufTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CompositeByteBufSequentialBenchmark.ByteBufType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMALL_CHUNKS
public static final CompositeByteBufSequentialBenchmark.ByteBufType SMALL_CHUNKS
-
LARGE_CHUNKS
public static final CompositeByteBufSequentialBenchmark.ByteBufType LARGE_CHUNKS
-
SMALL_CHUNKS_DIRECT
public static final CompositeByteBufSequentialBenchmark.ByteBufType SMALL_CHUNKS_DIRECT
-
LARGE_CHUNKS_DIRECT
public static final CompositeByteBufSequentialBenchmark.ByteBufType LARGE_CHUNKS_DIRECT
-
-
Method Detail
-
values
public static CompositeByteBufSequentialBenchmark.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 (CompositeByteBufSequentialBenchmark.ByteBufType c : CompositeByteBufSequentialBenchmark.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 CompositeByteBufSequentialBenchmark.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
-
-