VALUE
- this value type (used to facilitate operation chaining)public interface MutableTextValue<VALUE extends MutableTextValue<VALUE>> extends Appendable
text
property valueModifier and Type | Method and Description |
---|---|
VALUE |
append(boolean aValue) |
VALUE |
append(char aValue) |
VALUE |
append(char[] content) |
VALUE |
append(char[] content,
int contentIndex) |
VALUE |
append(char[] content,
int contentIndex,
int contentLength) |
VALUE |
append(CharSequence content) |
VALUE |
append(CharSequence content,
int contentStartIndex) |
VALUE |
append(CharSequence content,
int contentStartIndex,
int contentEndIndexPlusOne) |
VALUE |
append(double aValue) |
VALUE |
append(float aValue) |
VALUE |
append(int aValue) |
VALUE |
append(long aValue) |
VALUE |
append(Object aValue) |
VALUE |
append(StringBuffer sb) |
VALUE |
appendCodePoint(int codePoint) |
void |
clear()
Same as
Collection.clear() . |
VALUE |
clearText()
Clear all characters from this primitive and re-interpret/re-set
|
VALUE |
delete(int start,
int end) |
VALUE |
deleteCharAt(int anIndex) |
VALUE |
insert(int anIndex,
boolean aValue) |
VALUE |
insert(int anIndex,
char aValue) |
VALUE |
insert(int anIndex,
char[] content) |
VALUE |
insert(int targetIndex,
char[] content,
int contentIndex,
int contentLength) |
VALUE |
insert(int anIndex,
CharSequence content) |
VALUE |
insert(int targetIndex,
CharSequence content,
int contentIndex) |
VALUE |
insert(int targetIndex,
CharSequence content,
int contentStartIndex,
int contentEndIndexPlusOne) |
VALUE |
insert(int anIndex,
double aValue) |
VALUE |
insert(int anIndex,
float aValue) |
VALUE |
insert(int anIndex,
int aValue) |
VALUE |
insert(int anIndex,
long aValue) |
VALUE |
insert(int anIndex,
Object aValue) |
VALUE |
lowerCase()
For text-based objects, convert all characters in the text to lower case.
|
VALUE |
prepend(boolean aValue) |
VALUE |
prepend(char aValue) |
VALUE |
prepend(char[] content) |
VALUE |
prepend(char[] content,
int contentIndex) |
VALUE |
prepend(char[] content,
int contentIndex,
int contentLength) |
VALUE |
prepend(CharSequence content) |
VALUE |
prepend(CharSequence content,
int contentIndex) |
VALUE |
prepend(CharSequence content,
int contentStartIndex,
int contentEndIndexPlusOne) |
VALUE |
prepend(double aValue) |
VALUE |
prepend(float aValue) |
VALUE |
prepend(int aValue) |
VALUE |
prepend(long aValue) |
VALUE |
prepend(Object aValue) |
VALUE |
replace(CharSequence target,
CharSequence replacement) |
VALUE |
replace(int start,
int end,
String str) |
VALUE |
replaceAll(String regex,
String replacement) |
VALUE |
replaceCharacter(char oldChar,
char newChar) |
VALUE |
replaceFirst(String regex,
String replacement) |
VALUE |
reverse() |
VALUE |
setCharAt(int index,
char ch) |
VALUE |
setLength(int newLength) |
VALUE |
setText(CharSequence content)
Set this property to the specified
text value and answer
this object (facilitates chaining) |
String |
textPostDecrement()
Decrement the real value of this text then return the original text prior
to decrementing
|
String |
textPostIncrement()
Increment the real value of this text then return the original text prior
to incrementing
|
VALUE |
titleCase()
For text-based objects, convert all characters in the text to
title case. |
VALUE |
trim()
Remove both leading and trailing
whitespace |
VALUE |
upperCase()
For text-based objects, convert all characters in the text to upper case.
|
VALUE append(boolean aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(char aValue) throws UnsupportedOperationException
append
in interface Appendable
UnsupportedOperationException
VALUE append(char[] content) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(char[] content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(CharSequence content) throws UnsupportedOperationException
append
in interface Appendable
UnsupportedOperationException
VALUE append(CharSequence content, int contentStartIndex) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
append
in interface Appendable
UnsupportedOperationException
VALUE append(double aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(float aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(int aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(long aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(Object aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE append(StringBuffer sb) throws UnsupportedOperationException
UnsupportedOperationException
VALUE appendCodePoint(int codePoint) throws UnsupportedOperationException
UnsupportedOperationException
void clear() throws UnsupportedOperationException
Collection.clear()
. So as to maintain compatibility, this
function will not return the customary reference back to this primitive.
In text primitives, this function will clear the current text contentsUnsupportedOperationException
- if this text cannot be clearedclearText();
,
Collection.clear()
,
MutableAlgebraicStructure.clearContents()
VALUE clearText() throws UnsupportedOperationException
UnsupportedOperationException
- if this object's text cannot be changedclear();
,
Collection.clear()
,
MutableAlgebraicStructure.clearContents()
VALUE delete(int start, int end) throws UnsupportedOperationException
UnsupportedOperationException
VALUE deleteCharAt(int anIndex) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, boolean aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, char aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, char[] content) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int targetIndex, char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, CharSequence content) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int targetIndex, CharSequence content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int targetIndex, CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, double aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, float aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, int aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, long aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE insert(int anIndex, Object aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE lowerCase()
VALUE prepend(boolean aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(char aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(char[] content) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(char[] content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(CharSequence content) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(CharSequence content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(double aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(float aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(int aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(long aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE prepend(Object aValue) throws UnsupportedOperationException
UnsupportedOperationException
VALUE replace(CharSequence target, CharSequence replacement) throws UnsupportedOperationException
UnsupportedOperationException
VALUE replace(int start, int end, String str) throws UnsupportedOperationException
UnsupportedOperationException
VALUE replaceAll(String regex, String replacement) throws UnsupportedOperationException
UnsupportedOperationException
VALUE replaceCharacter(char oldChar, char newChar) throws UnsupportedOperationException
UnsupportedOperationException
VALUE replaceFirst(String regex, String replacement) throws UnsupportedOperationException
UnsupportedOperationException
VALUE reverse() throws UnsupportedOperationException
UnsupportedOperationException
VALUE setCharAt(int index, char ch) throws UnsupportedOperationException
UnsupportedOperationException
VALUE setLength(int newLength) throws UnsupportedOperationException
UnsupportedOperationException
VALUE setText(CharSequence content) throws UnsupportedOperationException, IllegalArgumentException, NullPointerException
text
value and answer
this object (facilitates chaining)content
- a text
valueUnsupportedOperationException
- if this object's value cannot be changedIllegalArgumentException
- if the specified value was incommensurate with this object's
specificationNullPointerException
- a null
value was provided and this implementation does
not accept null
valuesString textPostDecrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
UnsupportedOperationException
- if this object's value cannot be changedIllegalArgumentException
- if the new value was incommensurate with this object's
specificationArithmeticException
- the new numeric value was incompatible with with algebraic
interpretation of this objectString textPostIncrement() throws UnsupportedOperationException, ArithmeticException, IllegalArgumentException
UnsupportedOperationException
- if this object's value cannot be changedIllegalArgumentException
- if the new value was incommensurate with this object's
specificationArithmeticException
- the new numeric value was incompatible with with algebraic
interpretation of this objectVALUE titleCase()
title
case. For numeric objects,
convert their character (BMP) or integer value (Unicode) to title case,
depending on the object's precision levelVALUE trim()
whitespace
Copyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.