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, wait
chars, codePoints
public MyCustomStringImpl(String s)
public int length()
length
in interface CharSequence
public char charAt(int i)
charAt
in interface CharSequence
public CharSequence subSequence(int i, int j)
subSequence
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Object
Copyright © 2007-2019 Red Hat, Inc. All Rights Reserved