程序包 | 说明 |
---|---|
io.netty.buffer |
Benchmarks for
io.netty.buffer . |
io.netty.buffer.search |
Utility classes for performing efficient substring search within
ByteBuf . |
io.netty.util |
Benchmarks for
io.netty.util . |
限定符和类型 | 接口和说明 |
---|---|
interface |
ByteBufProcessor
已过时。
Use
ByteProcessor . |
限定符和类型 | 方法和说明 |
---|---|
int |
SwappedByteBuf.forEachByte(ByteProcessor processor)
已过时。
|
int |
EmptyByteBuf.forEachByte(ByteProcessor processor) |
abstract int |
ByteBuf.forEachByte(ByteProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in ascending order. |
int |
AbstractByteBuf.forEachByte(ByteProcessor processor) |
int |
SwappedByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
已过时。
|
int |
ReadOnlyByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
已过时。
|
int |
EmptyByteBuf.forEachByte(int index,
int length,
ByteProcessor processor) |
int |
DuplicatedByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
已过时。
|
abstract int |
ByteBuf.forEachByte(int index,
int length,
ByteProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in ascending order. |
int |
AbstractByteBuf.forEachByte(int index,
int length,
ByteProcessor processor) |
protected int |
CompositeByteBuf.forEachByteAsc0(int start,
int end,
ByteProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(ByteProcessor processor)
已过时。
|
int |
EmptyByteBuf.forEachByteDesc(ByteProcessor processor) |
abstract int |
ByteBuf.forEachByteDesc(ByteProcessor processor)
Iterates over the readable bytes of this buffer with the specified
processor in descending order. |
int |
AbstractByteBuf.forEachByteDesc(ByteProcessor processor) |
int |
SwappedByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
已过时。
|
int |
ReadOnlyByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
已过时。
|
int |
EmptyByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor) |
int |
DuplicatedByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
已过时。
|
abstract int |
ByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor)
Iterates over the specified area of this buffer with the specified
processor in descending order. |
int |
AbstractByteBuf.forEachByteDesc(int index,
int length,
ByteProcessor processor) |
protected int |
CompositeByteBuf.forEachByteDesc0(int rStart,
int rEnd,
ByteProcessor processor) |
限定符和类型 | 接口和说明 |
---|---|
interface |
MultiSearchProcessor
Interface for
SearchProcessor that implements simultaneous search for multiple strings. |
interface |
SearchProcessor
Interface for
ByteProcessor that implements string search. |
限定符和类型 | 类和说明 |
---|---|
static class |
AhoCorasicSearchProcessorFactory.Processor |
static class |
BitapSearchProcessorFactory.Processor |
static class |
KmpSearchProcessorFactory.Processor |
限定符和类型 | 类和说明 |
---|---|
static class |
ByteProcessor.IndexNotOfProcessor
A
ByteProcessor which finds the first appearance which is not of a specific byte. |
static class |
ByteProcessor.IndexOfProcessor
A
ByteProcessor which finds the first appearance of a specific byte. |
限定符和类型 | 字段和说明 |
---|---|
static ByteProcessor |
ByteProcessor.FIND_ASCII_SPACE
Aborts on a ascii space character (
' ' ). |
static ByteProcessor |
ByteProcessor.FIND_COMMA
Aborts on a comma
(',') . |
static ByteProcessor |
ByteProcessor.FIND_CR
Aborts on a
CR ('\r') . |
static ByteProcessor |
ByteProcessor.FIND_CRLF
Aborts on a
CR ('\r') or a LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_LF
Aborts on a
LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_LINEAR_WHITESPACE
Aborts on a linear whitespace (a (
' ' or a '\t' ). |
static ByteProcessor |
ByteProcessor.FIND_NON_CR
Aborts on a non-
CR ('\r') . |
static ByteProcessor |
ByteProcessor.FIND_NON_CRLF
Aborts on a byte which is neither a
CR ('\r') nor a LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_NON_LF
Aborts on a non-
LF ('\n') . |
static ByteProcessor |
ByteProcessor.FIND_NON_LINEAR_WHITESPACE
Aborts on a byte which is not a linear whitespace (neither
' ' nor '\t' ). |
static ByteProcessor |
ByteProcessor.FIND_NON_NUL
Aborts on a non-
NUL (0x00) . |
static ByteProcessor |
ByteProcessor.FIND_NUL
Aborts on a
NUL (0x00) . |
static ByteProcessor |
ByteProcessor.FIND_SEMI_COLON
Aborts on a semicolon
(';') . |
限定符和类型 | 方法和说明 |
---|---|
int |
AsciiString.forEachByte(ByteProcessor visitor)
Iterates over the readable bytes of this buffer with the specified
processor in ascending order. |
int |
AsciiString.forEachByte(int index,
int length,
ByteProcessor visitor)
Iterates over the specified area of this buffer with the specified
processor in ascending order. |
int |
AsciiString.forEachByteDesc(ByteProcessor visitor)
Iterates over the readable bytes of this buffer with the specified
processor in descending order. |
int |
AsciiString.forEachByteDesc(int index,
int length,
ByteProcessor visitor)
Iterates over the specified area of this buffer with the specified
processor in descending order. |