Note
'\0' changed to '�' use com. mapper to get original null chars.
| Modifier and Type | Field and Description |
|---|---|
| private final CharSubSequence | |
| private final char[] | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | allOptions(int
option flags options)Implements com. Options test for options for this sequence default reports true for global default options (if any) , variation available on BasedSequenceWithOptions |
| public boolean | anyOptions(int
option flags options)Implements com. Options test for options for this sequence default reports true for global default options (if any) , variation available on BasedSequenceWithOptions |
| public @NotNull CharSubSequence | baseSubSequence(int
offset from 0 of original sequence startIndex, int offset from 0 of original sequence endIndex)Overrides com. Implements com. Get a portion of this sequence's base sequence Note this means that if this sequence applies modifications to the original sequence then these modifications are NOT be applied to the returned sequence. |
| public char | charAt(int
the index of the index)char value to be returnedImplements java. Returns the |
| public @NotNull char[] | getBase()
Implements com. Get the underlying object on which this sequence contents are based |
| public @NotNull CharSubSequence | getBaseSequence()
Implements com. Get the base sequence for the text |
| public int | getEndOffset()
Implements com. Get the end offset of this sequence into |
| public int | getIndexOffset(int
index for which to get the offset in original source index)Implements com. Get the offset of index in this sequence mapped to offset into |
| public <T> T | getOption(DataKeyBase<T>
in options dataKey)Implements com. Options holder, default has none, only available on BasedSequenceWithOptions |
| public int | getOptionFlags()
Implements com. Options test for options for this sequence default reports true for global default options (if any) , variation available on BasedSequenceWithOptions |
| public @Nullable DataHolder | getOptions()
Implements com. Options holder, default has none, only available on BasedSequenceWithOptions |
| public @NotNull Range | getSourceRange()
Implements com. Get the range of this sequence in original |
| public int | getStartOffset()
Implements com. Get the start offset of this sequence into |
| public int | |
| public static CharSubSequence | |
| public static CharSubSequence | |
| public static CharSubSequence | Returns: CharSubSequence based sequence of arraychar array chars, int start index in array startIndex, int end index in array endIndex)
Deprecated
NOTE: use BasedSequence.of() for creating based sequences
|
| private static CharSubSequence | Returns: char based sequencechar sequence charSequence, int start index in sequence startIndex, int end index in sequence endIndex)
|
| public @NotNull CharSubSequence | subSequence(int
offset from startIndex of this sequence startIndex, int offset from startIndex of this sequence endIndex)Implements com. Get a portion of this sequence |
| base | back to summary |
|---|---|
| private final CharSubSequence base | |
| baseChars | back to summary |
|---|---|
| private final char[] baseChars | |
| endOffset | back to summary |
|---|---|
| private final int endOffset | |
| startOffset | back to summary |
|---|---|
| private final int startOffset | |
| CharSubSequence | back to summary |
|---|---|
| private CharSubSequence(char[] chars, int hash) | |
| CharSubSequence | back to summary |
|---|---|
| private CharSubSequence(CharSubSequence baseSeq, int startIndex, int endIndex) | |
| allOptions | back to summary |
|---|---|
| public boolean allOptions(int options) Implements com. Doc from com. Options test for options for this sequence default reports true for global default options (if any) , variation available on BasedSequenceWithOptions
| |
| anyOptions | back to summary |
|---|---|
| public boolean anyOptions(int options) Implements com. Doc from com. Options test for options for this sequence default reports true for global default options (if any) , variation available on BasedSequenceWithOptions
| |
| baseSubSequence | back to summary |
|---|---|
| public @NotNull CharSubSequence baseSubSequence(int startIndex, int endIndex) Overrides com. Implements com. Doc from com. Get a portion of this sequence's base sequence Note this means that if this sequence applies modifications to the original sequence then these modifications are NOT be applied to the returned sequence. Note It should only be implemented in classes which provide base sequences such as
| |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| getBase | back to summary |
|---|---|
| public @NotNull char[] getBase() Implements com. Doc from com. Get the underlying object on which this sequence contents are based | |
| getBaseSequence | back to summary |
|---|---|
| public @NotNull CharSubSequence getBaseSequence() Implements com. Doc from com. Get the base sequence for the text
| |
| getEndOffset | back to summary |
|---|---|
| public int getEndOffset() Implements com. Doc from com. Get the end offset of this sequence into
| |
| getIndexOffset | back to summary |
|---|---|
| public int getIndexOffset(int index) Implements com. Doc from com. Get the offset of index in this sequence mapped to offset into Note if the character at given index does not equal the corresponding character in the base sequence then this method should return -1 otherwise segmented based sequence will be created for original base character
| |
| getOption | back to summary |
|---|---|
| public <T> T getOption(DataKeyBase<T> dataKey) Implements com. Doc from com. Options holder, default has none, only available on BasedSequenceWithOptions
| |
| getOptionFlags | back to summary |
|---|---|
| public int getOptionFlags() Implements com. Doc from com. Options test for options for this sequence default reports true for global default options (if any) , variation available on BasedSequenceWithOptions
| |
| getOptions | back to summary |
|---|---|
| public @Nullable DataHolder getOptions() Implements com. Doc from com. Options holder, default has none, only available on BasedSequenceWithOptions
| |
| getSourceRange | back to summary |
|---|---|
| public @NotNull Range getSourceRange() Implements com. Doc from com. Get the range of this sequence in original | |
| getStartOffset | back to summary |
|---|---|
| public int getStartOffset() Implements com. Doc from com. Get the start offset of this sequence into
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
| |
| of | back to summary |
|---|---|
| public static CharSubSequence of(CharSequence charSequence) | |
| of | back to summary |
|---|---|
| public static CharSubSequence of(CharSequence charSequence, int startIndex) | |
| of | back to summary |
|---|---|
| public static CharSubSequence of(char[] chars, int startIndex, int endIndex)
Deprecated NOTE: use BasedSequence.of() for creating based sequences
| |
| of | back to summary |
|---|---|
private static CharSubSequence of(CharSequence charSequence, int startIndex, int endIndex)
| |
| subSequence | back to summary |
|---|---|
| public @NotNull CharSubSequence subSequence(int startIndex, int endIndex) Implements com. Doc from com. Get a portion of this sequence
| |