public class UnsafeSubSequence extends Object implements CharSequence
| Modifier and Type | Field and Description |
|---|---|
protected int |
end |
protected static org.slf4j.Logger |
LOGGER |
protected int |
start |
protected CharSequence |
undelrying |
| Constructor and Description |
|---|
UnsafeSubSequence(CharSequence undelrying) |
UnsafeSubSequence(CharSequence undelrying,
int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isValid() |
int |
length() |
void |
resetWindow(int start,
int end) |
CharSequence |
subSequence(int subStart,
int subEnd) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointsprotected static final org.slf4j.Logger LOGGER
protected final CharSequence undelrying
protected int start
protected int end
public UnsafeSubSequence(CharSequence undelrying)
public UnsafeSubSequence(CharSequence undelrying, int from, int to)
public void resetWindow(int start,
int end)
public boolean isValid()
public int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int subStart, int subEnd)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 2014–2017 Pivotal Software, Inc.. All rights reserved.