public abstract static class AbstractCharSequence.StringLike extends AbstractCharSequence
hashCode()
and equals()
method accepting strings with the same content
like charsequence has.
AbstractCharSequence.StringLike
Constructor and Description |
---|
StringLike() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
CharSequence |
subSequence(int start,
int end)
Return subsequence of this character sequence.
|
charAt, length, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
chars, codePoints, compare, isEmpty
public CharSequence subSequence(int start, int end)
AbstractCharSequence
subSequence
in interface CharSequence
subSequence
in class AbstractCharSequence
start
- >=0 starting index of the subsequence within this
character sequence.end
- >=0 ending index of the subsequence within this
character sequence.