public class MyCustomStringImpl extends Object implements CharSequence
| Constructor and Description |
|---|
MyCustomStringImpl(String s) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int i) |
int |
length() |
CharSequence |
subSequence(int i,
int j) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchars, codePointspublic MyCustomStringImpl(String s)
public int length()
length in interface CharSequencepublic char charAt(int i)
charAt in interface CharSequencepublic CharSequence subSequence(int i, int j)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 2007-2025 Red Hat, Inc. All Rights Reserved