VALUE - this value type (used to facilitate operation chaining)public interface MutableTextValue<VALUE extends MutableTextValue<VALUE>> extends Appendable
text property value| Modifier 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
UnsupportedOperationExceptionVALUE append(char aValue) throws UnsupportedOperationException
append in interface AppendableUnsupportedOperationExceptionVALUE append(char[] content) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(char[] content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(CharSequence content) throws UnsupportedOperationException
append in interface AppendableUnsupportedOperationExceptionVALUE append(CharSequence content, int contentStartIndex) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
append in interface AppendableUnsupportedOperationExceptionVALUE append(double aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(float aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(int aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(long aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(Object aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE append(StringBuffer sb) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE appendCodePoint(int codePoint) throws UnsupportedOperationException
UnsupportedOperationExceptionvoid 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
UnsupportedOperationExceptionVALUE deleteCharAt(int anIndex) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, boolean aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, char aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, char[] content) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int targetIndex, char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, CharSequence content) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int targetIndex, CharSequence content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int targetIndex, CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, double aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, float aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, int aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, long aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE insert(int anIndex, Object aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE lowerCase()
VALUE prepend(boolean aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(char aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(char[] content) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(char[] content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(char[] content, int contentIndex, int contentLength) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(CharSequence content) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(CharSequence content, int contentIndex) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(CharSequence content, int contentStartIndex, int contentEndIndexPlusOne) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(double aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(float aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(int aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(long aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE prepend(Object aValue) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE replace(CharSequence target, CharSequence replacement) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE replace(int start, int end, String str) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE replaceAll(String regex, String replacement) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE replaceCharacter(char oldChar, char newChar) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE replaceFirst(String regex, String replacement) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE reverse() throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE setCharAt(int index, char ch) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE setLength(int newLength) throws UnsupportedOperationException
UnsupportedOperationExceptionVALUE 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()
whitespaceCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.