public class AppendableCharArrayWrapper extends Object implements Appendable, CharSequence
| Constructor and Description |
|---|
AppendableCharArrayWrapper(char[] wrappedArray)
Instantiates a new Appendable char array wrapper.
|
AppendableCharArrayWrapper(char[] wrappedArray,
int offset,
int length)
Instantiates a new Appendable char array wrapper.
|
AppendableCharArrayWrapper(char[] wrappedArray,
int offset,
int length,
char zeroReplacement)
Instantiates a new Appendable char array wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int srcStart,
int srcEnd) |
char |
charAt(int index) |
void |
clear()
Clear void.
|
void |
clear(char clearChar)
Clear void.
|
int |
getCurrentOffset()
Gets current offset.
|
int |
length() |
void |
setCharAt(int index,
char c)
Sets char at.
|
void |
setCurrentOffset(int newOffset)
Sets current offset.
|
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchars, codePointspublic AppendableCharArrayWrapper(char[] wrappedArray,
int offset,
int length,
char zeroReplacement)
wrappedArray - the wrapped arrayoffset - the offsetlength - the lengthpublic AppendableCharArrayWrapper(char[] wrappedArray,
int offset,
int length)
wrappedArray - the wrapped arrayoffset - the offsetlength - the lengthpublic AppendableCharArrayWrapper(char[] wrappedArray)
wrappedArray - the wrapped arraypublic Appendable append(char c)
append in interface Appendablepublic Appendable append(CharSequence csq)
append in interface Appendablepublic Appendable append(CharSequence csq, int srcStart, int srcEnd)
append in interface Appendablepublic int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic void setCharAt(int index,
char c)
index - the indexc - the cpublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in class Objectpublic int getCurrentOffset()
public void setCurrentOffset(int newOffset)
newOffset - the new offsetpublic void clear(char clearChar)
clearChar - the clear charpublic void clear()
Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.