| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadLocal | |
| private final int | |
| private final SegmentTree | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private | SegmentedSequenceTree(BasedSequence baseSeq, int startOffset, int endOffset, int length, @NotNull SegmentTree segmentTree)
|
| private | SegmentedSequenceTree(BasedSequence baseSeq, @NotNull SegmentTree segmentTree, @NotNull SegmentTreeRange subSequenceRange)
|
| 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 SegmentedSequenceTree | Returns: segmented sequencebase sequence baseSeq, ISegmentBuilder<?> builder containing segments for this sequence builder)Base Constructor |
| private @NotNull SegmentedSequenceTree. | |
| private @Nullable Segment | |
| 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 @NotNull SegmentTree | getSegmentTree()
Overrides com. Implements com. Get the segment tree for this sequence |
| 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 |
| cache | back to summary |
|---|---|
| private final ThreadLocal<SegmentedSequenceTree. | |
| endPos | back to summary |
|---|---|
| private final int endPos | |
| segmentTree | back to summary |
|---|---|
| private final SegmentTree segmentTree | |
| startIndex | back to summary |
|---|---|
| private final int startIndex | |
| startPos | back to summary |
|---|---|
| private final int startPos | |
| SegmentedSequenceTree | back to summary |
|---|---|
| private SegmentedSequenceTree(BasedSequence baseSeq, int startOffset, int endOffset, int length, @NotNull SegmentTree segmentTree) | |
| SegmentedSequenceTree | back to summary |
|---|---|
| private SegmentedSequenceTree(BasedSequence baseSeq, @NotNull SegmentTree segmentTree, @NotNull SegmentTreeRange subSequenceRange) | |
| 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 SegmentedSequenceTree create(@NotNull BasedSequence baseSeq, ISegmentBuilder<?> builder) Base Constructor
| |
| getCache | back to summary |
|---|---|
private @NotNull SegmentedSequenceTree.
| |
| getCachedSegment | back to summary |
|---|---|
private @Nullable Segment getCachedSegment()
| |
| 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
| |
| getSegmentTree | back to summary |
|---|---|
| public @NotNull SegmentTree getSegmentTree() Overrides com. Implements com. Doc from com. Get the segment tree for this sequence
| |
| subSequence | back to summary |
|---|---|
| public @NotNull BasedSequence subSequence(int startIndex, int endIndex) Implements com. Doc from com. Get a portion of this sequence
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final @NotNull CharSequence | |
| pack-priv final int | |
| pack-priv final @NotNull Segment |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public char | |
| public int |
| chars | back to summary |
|---|---|
| pack-priv final @NotNull CharSequence chars
| |
| indexDelta | back to summary |
|---|---|
| pack-priv final int indexDelta | |
| segment | back to summary |
|---|---|
| pack-priv final @NotNull Segment segment
| |
| Cache | back to summary |
|---|---|
| public Cache(@NotNull Segment segment, @NotNull CharSequence chars, int startIndex) | |
| charAt | back to summary |
|---|---|
| public char charAt(int index) | |
| charIndex | back to summary |
|---|---|
| public int charIndex(int index) | |