|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Text | |
---|---|
javolution.lang | Provides fundamental classes and interfaces; some of which are either missing from
the java.lang package or are not available for all platforms (including J2ME CLDC). |
javolution.text | Provides classes and interfaces to handle text. |
javolution.util | Provides high-performance collection classes and miscellaneous utilities; although
this package provides very few collection classes, they are substitutes for
most of java.util.* classes (for example, java.util.IdentityHashMap would be
a FastMap with an identity key comparator). |
Uses of Text in javolution.lang |
---|
Methods in javolution.lang that return Text | |
---|---|
Text |
Realtime.toText()
Returns the textual representation of this real-time object (equivalent to toString except that the returned value
can be "stack" allocated and
supports fast concatenation). |
Uses of Text in javolution.text |
---|
Fields in javolution.text declared as Text | |
---|---|
static Text |
Text.EMPTY
Holds an empty character sequence. |
Methods in javolution.text that return Text | |
---|---|
Text |
Text.concat(Text that)
Concatenates the specified text to the end of this text. |
Text |
Text.copy()
|
Text |
Text.delete(int start,
int end)
Returns the text without the characters between the specified indexes. |
Text |
TextFormat.format(T obj)
Formats the specified object to a Text instance
(convenience method equivalent to
format(obj, TextBuilder.newInstance()).toText() ). |
Text |
Text.insert(int index,
Text txt)
Returns the text having the specified text inserted at the specified location. |
static Text |
Text.intern(CharSequence csq)
Returns a text equals to the specified character sequence from a pool of unique text instances in ImmortalMemory . |
static Text |
Text.intern(String str)
Returns a text equals to the specified string from a pool of unique text instances in ImmortalMemory . |
Text |
Text.padLeft(int len)
Pads this text on the left with spaces to make the minimum total length as specified. |
Text |
Text.padLeft(int len,
char c)
Pads this text on the left to make the minimum total length as specified. |
Text |
Text.padRight(int len)
Pads this text on the right with spaces to make the minimum total length as specified. |
Text |
Text.padRight(int len,
char c)
Pads this text on the right to make the minimum total length as specified. |
Text |
Text.plus(Object obj)
Returns the concatenation of this text and the textual representation of the specified object. |
Text |
Text.plus(String str)
Returns the concatenation of this text and the specified String (optimization). |
Text |
Text.replace(CharSequence target,
CharSequence replacement)
Replaces each character sequence of this text that matches the specified target sequence with the specified replacement sequence. |
Text |
Text.replace(CharSet charSet,
CharSequence replacement)
Replaces the specified characters in this text with the specified replacement sequence. |
Text |
Text.subtext(int start)
Returns a portion of this text. |
Text |
Text.subtext(int start,
int end)
Returns a portion of this text. |
Text |
Text.toLowerCase()
Converts the characters of this text to lower case. |
Text |
Text.toText()
Returns this (implements
Realtime interface). |
Text |
TextBuilder.toText()
Returns the Text corresponding to this TextBuilder
(allocated on the "stack" when executing in a
StackContext ). |
Text |
Text.toUpperCase()
Converts the characters of this text to upper case. |
Text |
Text.trim()
Returns a copy of this text, with leading and trailing whitespace omitted. |
Text |
Text.trimEnd()
Returns a copy of this text, with trailing whitespace omitted. |
Text |
Text.trimStart()
Returns a copy of this text, with leading whitespace omitted. |
static Text |
Text.valueOf(boolean b)
Returns the text representation of the boolean argument. |
static Text |
Text.valueOf(char c)
Returns the text instance corresponding to the specified character. |
static Text |
Text.valueOf(char[] chars)
Returns the text that contains the characters from the specified array. |
static Text |
Text.valueOf(char[] chars,
int offset,
int length)
Returns the text that contains the characters from the specified subarray of characters. |
static Text |
Text.valueOf(char c,
int length)
Returns the text that contains a specific length sequence of the character specified. |
static Text |
Text.valueOf(double d)
Returns the textual representation of the specified double
argument. |
static Text |
Text.valueOf(double d,
int digits,
boolean scientific,
boolean showZero)
Returns the textual representation of the specified double
argument formatted as specified. |
static Text |
Text.valueOf(float f)
Returns the textual representation of the specified float
instance. |
static Text |
Text.valueOf(int i)
Returns the decimal representation of the specified int
argument. |
static Text |
Text.valueOf(int i,
int radix)
Returns the radix representation of the specified int
argument. |
static Text |
Text.valueOf(long l)
Returns the decimal representation of the specified long
argument. |
static Text |
Text.valueOf(long l,
int radix)
Returns the radix representation of the specified long
argument. |
static Text |
Text.valueOf(Object obj)
Returns the text representing the specified object. |
Methods in javolution.text with parameters of type Text | |
---|---|
TextBuilder |
TextBuilder.append(Text txt)
Appends the specified text to this text builder. |
TextBuilder |
TextBuilder.append(Text txt,
int start,
int end)
Appends a subsequence of the specified text. |
Text |
Text.concat(Text that)
Concatenates the specified text to the end of this text. |
Text |
Text.insert(int index,
Text txt)
Returns the text having the specified text inserted at the specified location. |
Uses of Text in javolution.util |
---|
Methods in javolution.util that return Text | |
---|---|
Text |
FastCollection.toText()
Returns the textual representation of this collection. |
Text |
FastMap.toText()
Returns the textual representation of this map. |
Text |
FastMap.Entry.toText()
|
Text |
Index.toText()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |