public class CharArrayCharSequence extends Object implements CharSequence
subSequence(int, int) returning a CharSequence that points
to the underlying char array. The view can re-point its view by calling
subSequence(int, int) this will return the original view but with
pointers moved to new positions on the underlying array.| Modifier and Type | Class and Description |
|---|---|
class |
CharArrayCharSequence.CharSequenceView |
| Constructor and Description |
|---|
CharArrayCharSequence(char[] array) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
length() |
CharArrayCharSequence.CharSequenceView |
subSequence(int start,
int end) |
String |
toString() |
CharArrayCharSequence.CharSequenceView |
view() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointspublic char charAt(int index)
charAt in interface CharSequencepublic int length()
length in interface CharSequencepublic CharArrayCharSequence.CharSequenceView subSequence(int start, int end)
subSequence in interface CharSequencepublic CharArrayCharSequence.CharSequenceView view()
public String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 2019. All rights reserved.