public interface Chunker
Chunker interface specifies methods for returning
a chunking given a character sequence or character slice.
Note that a Chunker may be used to implement a
Parser that extends StringParser by implementing its Parser.parseString(char[],int,int) method using
the chunker method chunk(char[],int,int).
| Modifier and Type | Method and Description |
|---|---|
Chunking |
chunk(char[] cs,
int start,
int end)
Return the chunking of the specified character slice.
|
Chunking |
chunk(CharSequence cSeq)
Return the chunking of the specified character sequence.
|
Chunking chunk(CharSequence cSeq)
cSeq - Character sequence to chunk.Chunking chunk(char[] cs, int start, int end)
cs - Underlying character sequence.start - Index of first character in slice.end - Index of one past the last character in the slice.Copyright © 2019 Alias-i, Inc.. All rights reserved.