Package io.undertow.benchmarks
Enum AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder
- java.lang.Object
-
- java.lang.Enum<AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder>
-
- io.undertow.benchmarks.AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder
-
- All Implemented Interfaces:
AsciiEncoders.AsciiEncoder,java.io.Serializable,java.lang.Comparable<AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder>
- Enclosing class:
- AsciiEncoders
public static enum AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder extends java.lang.Enum<AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder> implements AsciiEncoders.AsciiEncoder
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Instance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncodervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder[]values()Returns an array containing the constants of this enum type, in the order they are declared.intwriteAndFlushAscii(AsciiEncoders.BufferFlusher flusher, java.nio.ByteBuffer buffer, char[] chars, int start, int end)
-
-
-
Enum Constant Detail
-
Instance
public static final AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder Instance
-
-
Method Detail
-
values
public static AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder[] 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 (AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder c : AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsciiEncoders.NonBatchFixedBufferOffsetAsciiEncoder 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
-
writeAndFlushAscii
public int writeAndFlushAscii(AsciiEncoders.BufferFlusher flusher, java.nio.ByteBuffer buffer, char[] chars, int start, int end) throws java.io.IOException
- Specified by:
writeAndFlushAsciiin interfaceAsciiEncoders.AsciiEncoder- Throws:
java.io.IOException
-
-