Package pl.tkowalcz.tjahzi.utils
Class TextBuilder
java.lang.Object
pl.tkowalcz.tjahzi.utils.TextBuilder
- All Implemented Interfaces:
Appendable,CharSequence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence string) append(CharSequence sequence, int start, int end) charcharAt(int index) clear()intlength()setCharAt(int index, char c) subSequence(int start, int end) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
TextBuilder
public TextBuilder()
-
-
Method Details
-
clear
-
append
- Specified by:
appendin interfaceAppendable
-
append
- Specified by:
appendin interfaceAppendable
-
append
- Specified by:
appendin interfaceAppendable
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
setCharAt
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-