public class ReusableString extends Object implements CharSequence
Constructor and Description |
---|
ReusableString() |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
protected Object |
clone() |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
length() |
void |
setCharAt(int index,
char ch) |
void |
setLength(int newLength) |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
chars, codePoints
public int length()
length
in interface CharSequence
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Object
public void setLength(int newLength)
public void setCharAt(int index, char ch)
Copyright © 2000–2022 EPAM Systems. All rights reserved.