public final class CharacterRing extends Object implements CharSequence, Appendable, BasicLogger.Buffer
Modifier and Type | Class and Description |
---|---|
static class |
CharacterRing.OutputStreamBuffer |
static class |
CharacterRing.PrinterBuffer |
static class |
CharacterRing.WriterBuffer |
Modifier and Type | Field and Description |
---|---|
static int |
length |
Constructor and Description |
---|
CharacterRing() |
Modifier and Type | Method and Description |
---|---|
CharacterRing |
append(char c) |
CharacterRing |
append(CharSequence csq) |
CharacterRing |
append(CharSequence csq,
int start,
int end) |
CharacterRing.OutputStreamBuffer |
asOutputStream() |
CharacterRing.PrinterBuffer |
asPrinter() |
CharacterRing.WriterBuffer |
asWriter() |
char |
charAt(int index) |
void |
clear() |
boolean |
equals(Object obj) |
void |
flush(BasicLogger.Printer receiver) |
int |
hashCode() |
int |
indexOfFirst(char c) |
int |
indexOfLast(char c) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
chars, codePoints
flush, flush, flush
public static final int length
public CharacterRing append(char c) throws IOException
append
in interface Appendable
IOException
public CharacterRing append(CharSequence csq) throws IOException
append
in interface Appendable
IOException
public CharacterRing append(CharSequence csq, int start, int end) throws IOException
append
in interface Appendable
IOException
public CharacterRing.OutputStreamBuffer asOutputStream()
public CharacterRing.PrinterBuffer asPrinter()
public CharacterRing.WriterBuffer asWriter()
public char charAt(int index)
charAt
in interface CharSequence
public void clear()
clear
in interface BasicLogger.Buffer
public void flush(BasicLogger.Printer receiver)
flush
in interface BasicLogger.Buffer
public int indexOfFirst(char c)
public int indexOfLast(char c)
public int length()
length
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
Copyright © 2019 Optimatika. All rights reserved.