| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | SegmentedSequenceFull(BasedSequence baseSeq, int startOffset, int endOffset, int length, boolean nonBaseChars, int[] baseOffsets, int baseStartOffset)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public char | charAt(int
the index of the index)char value to be returnedImplements java. Returns the |
| public static SegmentedSequenceFull | Returns: segmented sequencebase sequence for segmented sequence baseSequence, ISegmentBuilder<?> builder for which to construct segmented sequence builder)Base Constructor |
| 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 static BasedSequence | Returns: based sequence of segments. Result is a sequence which looks like all the segments were concatenated, while still maintaining the original offset for each character when usinggetIndexOffset(int)(int index)base sequence for the segments basedSequence, @NotNull Iterable<? extends BasedSequence> list of based sequences to put into a based sequence segments)
Deprecated
use
BasedSequence#getBuilder() and then SequenceBuilder#addAll(Iterable)
or if you know which are based segments vs. out of base Strings then use BasedSegmentBuilder
to construct segments directly.
|
| public static BasedSequence | of(BasedSequence... segments)
Hides com.
Deprecated
|
| public @NotNull BasedSequence | 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 |
| private SegmentedSequenceFull | subSequence(final BasedSequence baseSeq, final int[] baseOffsets, final int baseStartOffset, final boolean nonBaseChars, final int length)
|
| baseOffsets | back to summary |
|---|---|
| private final int[] baseOffsets | |
| baseStartOffset | back to summary |
|---|---|
| private final int baseStartOffset | |
| nonBaseChars | back to summary |
|---|---|
| private final boolean nonBaseChars | |
| SegmentedSequenceFull | back to summary |
|---|---|
| private SegmentedSequenceFull(BasedSequence baseSeq, int startOffset, int endOffset, int length, boolean nonBaseChars, int[] baseOffsets, int baseStartOffset) | |
| addSegments | back to summary |
|---|---|
public void addSegments(@NotNull IBasedSegmentBuilder<?> builder)
| |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| create | back to summary |
|---|---|
| public static SegmentedSequenceFull create(@NotNull BasedSequence baseSequence, ISegmentBuilder<?> builder) Base Constructor
| |
| 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
| |
| of | back to summary |
|---|---|
| public static BasedSequence of(BasedSequence basedSequence, @NotNull Iterable<? extends BasedSequence> segments)
Deprecated use
| |
| of | back to summary |
|---|---|
| public static BasedSequence of(BasedSequence... segments) Hides com. Deprecated
| |
| subSequence | back to summary |
|---|---|
| public @NotNull BasedSequence subSequence(int startIndex, int endIndex) Implements com. Doc from com. Get a portion of this sequence
| |
| subSequence | back to summary |
|---|---|
| private SegmentedSequenceFull subSequence(final BasedSequence baseSeq, final int[] baseOffsets, final int baseStartOffset, final boolean nonBaseChars, final int length) | |