| Package | Description |
|---|---|
| com.vladsch.flexmark.util.sequence |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IRichSequence<T extends IRichSequence<T>>
A CharSequence that provides a rich set of manipulation methods.
|
class |
IRichSequenceBase<T extends IRichSequence<T>>
An abstract base for RichSequence which implements most of the methods allowing subclasses to
implement RichSequence with minimal support methods
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BasedSequence
A CharSequence that references original char sequence with offsets into original preserved.
|
interface |
ReplacedBasedSequence
Interface implemented by sequences which do not contain contiguous base characters
from startOffset to endOffset
|
interface |
RichSequence |
| Modifier and Type | Class and Description |
|---|---|
static class |
BasedSequence.EmptyBasedSequence |
class |
BasedSequenceImpl
Implementation of BaseSequence
|
class |
CharSubSequence
A CharSequence that references original char[]
a subSequence() returns a sub-sequence from the original base sequence
|
class |
IRichSequenceBase<T extends IRichSequence<T>>
An abstract base for RichSequence which implements most of the methods allowing subclasses to
implement RichSequence with minimal support methods
|
class |
MappedBasedSequence
A BasedSequence which maps characters according to CharMapper
|
class |
MappedRichSequence
A CharSequence that maps characters according to CharMapper
|
class |
PrefixedSubSequence
A BasedSequence with an out of scope of original char sequence prefix
|
class |
RichSequenceImpl
A RichSequence implementation
|
class |
SegmentedSequence
A BasedSequence which consists of segments of other BasedSequences
|
class |
SegmentedSequenceFull
A BasedSequence which consists of segments of other BasedSequences
NOTE: very efficient for random access but extremely wasteful with space by allocating 4 bytes per character in the sequence with corresponding construction penalty
use SegmentedSequenceTree which is binary tree based segmented sequence with minimal overhead and optimized to give penalty free random access for most applications.
|
class |
SegmentedSequenceTree
A BasedSequence which consists of segments of other BasedSequences
NOTE: very efficient for random access but extremely wasteful with space by allocating 4 bytes per character in the sequence with corresponding construction penalty
use SegmentedSequenceTree which is binary tree based segmented sequence with minimal overhead and optimized to give penalty free random access for most applications.
|
class |
SubSequence
A BasedSequence implementation which wraps original CharSequence to provide a BasedSequence for
all its subsequences, a subSequence() returns a SubSequence from the original base sequence.
|
| Modifier and Type | Method and Description |
|---|---|
T[] |
IRichSequence.emptyArray() |
default T[] |
IRichSequence.split(char delimiter)
Deprecated.
|
default T[] |
IRichSequence.split(char delimiter,
int limit)
Deprecated.
|
default T[] |
IRichSequence.split(char delimiter,
int limit,
int flags)
Deprecated.
|
T[] |
IRichSequence.split(@NotNull CharSequence delimiter) |
T[] |
IRichSequenceBase.split(@NotNull CharSequence delimiter) |
T[] |
IRichSequence.split(@NotNull CharSequence delimiter,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
T[] |
IRichSequenceBase.split(@NotNull CharSequence delimiter,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
T[] |
IRichSequence.split(@NotNull CharSequence delimiter,
int limit,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
T[] |
IRichSequenceBase.split(@NotNull CharSequence delimiter,
int limit,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
T[] |
IRichSequence.split(@NotNull CharSequence delimiter,
int limit,
int flags) |
T[] |
IRichSequenceBase.split(@NotNull CharSequence delimiter,
int limit,
int flags) |
T[] |
IRichSequence.split(@NotNull CharSequence delimiter,
int limit,
int flags,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
T[] |
IRichSequenceBase.split(@NotNull CharSequence delimiter,
int limit,
int flags,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
T[] |
IRichSequence.splitEOL() |
T[] |
IRichSequenceBase.splitEOL() |
T[] |
IRichSequence.splitEOL(boolean includeDelims) |
T[] |
IRichSequenceBase.splitEOL(boolean includeDelims) |
Copyright © 2020. All rights reserved.