| Modifier and Type | Field and Description |
|---|---|
| private final BasedSequence | |
| private final CharMapper |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| 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 char | charAt(int
the index of the index)char value to be returnedImplements java. Returns the |
| public @NotNull Object | getBase()
Implements com. Get the underlying object on which this sequence contents are based |
| public @NotNull BasedSequence | getBaseSequence()
Implements com. Get the base sequence for the text |
| public @NotNull CharMapper | |
| public @NotNull BasedSequence | |
| 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 @NotNull BasedSequence | |
| public @NotNull BasedSequence | |
| public @NotNull BasedSequence | subSequence(int
the start index, inclusive startIndex, int the end index, exclusive endIndex)Implements java. Returns a |
| public @NotNull BasedSequence |
| baseSeq | back to summary |
|---|---|
| private final BasedSequence baseSeq | |
| mapper | back to summary |
|---|---|
| private final CharMapper mapper | |
| MappedBasedSequence | back to summary |
|---|---|
| private MappedBasedSequence(BasedSequence baseSeq, CharMapper mapper) | |
| addSegments | back to summary |
|---|---|
public void addSegments(@NotNull IBasedSegmentBuilder<?> builder)
| |
| 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
| |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| getBase | back to summary |
|---|---|
| public @NotNull Object getBase() Implements com. Doc from com. Get the underlying object on which this sequence contents are based | |
| getBaseSequence | back to summary |
|---|---|
| public @NotNull BasedSequence getBaseSequence() Implements com. Doc from com. Get the base sequence for the text
| |
| getCharMapper | back to summary |
|---|---|
| public @NotNull CharMapper getCharMapper() Implements com. | |
| getCharSequence | back to summary |
|---|---|
| public @NotNull BasedSequence getCharSequence() Implements com. | |
| 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
| |
| mappedOf | back to summary |
|---|---|
public static @NotNull BasedSequence mappedOf(@NotNull BasedSequence baseSeq, @NotNull CharMapper mapper)
| |
| sequenceOf | back to summary |
|---|---|
| public @NotNull BasedSequence sequenceOf(@Nullable CharSequence baseSeq, int startIndex, int endIndex) | |
| subSequence | back to summary |
|---|---|
| public @NotNull BasedSequence subSequence(int startIndex, int endIndex) Implements java. Doc from java. Returns a
| |
| toMapped | back to summary |
|---|---|
| public @NotNull BasedSequence toMapped(CharMapper mapper) Overrides com. Implements com. | |