public class RawInputViewFastImpl extends java.lang.Object implements RawInputView
| Modifier and Type | Field and Description |
|---|---|
protected java.util.NavigableMap<java.lang.Integer,java.lang.Integer> |
claimedIndexes |
protected @Nullable java.lang.String |
notClaimedCache |
protected java.util.Map<java.lang.Integer,java.lang.String> |
notClaimedSubsCache |
protected java.lang.String |
sourceContent |
protected char[] |
sourceContentChars |
protected java.util.concurrent.atomic.AtomicInteger |
subIdSequence |
| Constructor and Description |
|---|
RawInputViewFastImpl(java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
claim() |
java.lang.String |
claim(int startInclusive,
int endExclusive) |
java.lang.String |
content() |
int |
countOf(char character) |
protected java.lang.String |
internalClaim(int startInclusive,
int endExclusive) |
java.lang.String |
sourceContent() |
RawInputView |
sub(int startInclusive) |
RawInputView |
sub(int startInclusive,
int endExclusive) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitindexOf, indexOf, length, ofprotected final java.util.NavigableMap<java.lang.Integer,java.lang.Integer> claimedIndexes
protected final char[] sourceContentChars
protected final java.lang.String sourceContent
@Nullable protected @Nullable java.lang.String notClaimedCache
protected final java.util.concurrent.atomic.AtomicInteger subIdSequence
protected final java.util.Map<java.lang.Integer,java.lang.String> notClaimedSubsCache
public java.lang.String claim()
claim in interface RawInputViewpublic java.lang.String claim(int startInclusive,
int endExclusive)
claim in interface RawInputViewprotected java.lang.String internalClaim(int startInclusive,
int endExclusive)
public java.lang.String content()
content in interface RawInputViewpublic RawInputView sub(int startInclusive, int endExclusive)
sub in interface RawInputViewpublic RawInputView sub(int startInclusive)
sub in interface RawInputViewpublic int countOf(char character)
countOf in interface RawInputViewpublic java.lang.String sourceContent()
sourceContent in interface RawInputView