Javolution 6.0.0 java
|
Public Member Functions | |
FastCollection< Object > | parse (CharSequence csq, Cursor cursor) throws IllegalArgumentException |
Appendable | format (FastCollection<?> that, final Appendable dest) throws IOException |
T | parse (CharSequence csq) throws IllegalArgumentException |
abstract Appendable | format (T obj, Appendable dest) throws IOException |
TextBuilder | format (T obj, TextBuilder dest) |
String | format (T obj) |
Default text format for fast collections (parsing not supported). It is the format used when printing standard
instances except that the elements themselves are written using their TextContext format.
Definition at line 663 of file FastCollection.java.
Appendable javolution.util.FastCollection< E >.Format.format | ( | FastCollection<?> | that, |
final Appendable | dest | ||
) | throws IOException |
Definition at line 672 of file FastCollection.java.
References javolution.text.TextFormat< T >.format(), and javolution.text.TextContext.getFormat().
|
inherited |
Convenience method to format the specified object to a String.
obj | the object to format. |
Definition at line 121 of file TextFormat.java.
|
abstractinherited |
Formats the specified object into an Appendable
obj | the object to format. |
dest | the appendable destination. |
Appendable
. Referenced by javolution.text.TextBuilder.append(), javolution.text.TextFormat< FastCollection<?> >.format(), and javolution.util.FastCollection< E >.Format.format().
|
inherited |
Convenience method to format the specified object to a TextBuilder; unlike the abstract format method, this method does not throw IOException.
obj | the object to format. |
dest | the appendable destination. |
TextBuilder
. Definition at line 106 of file TextFormat.java.
|
inherited |
Convenience method to parse the whole character sequence; if there are unread extraneous characters after parsing then an exception is raised.
csq | the CharSequence to parse from the first character to the last. |
IllegalArgumentException | if the syntax of the specified character sequence is incorrect or if there are extraneous characters at the end not parsed. |
Definition at line 89 of file TextFormat.java.
FastCollection<Object> javolution.util.FastCollection< E >.Format.parse | ( | CharSequence | csq, |
Cursor | cursor | ||
) | throws IllegalArgumentException |
Reads a portion of the specified CharSequence
from the specified cursor position to produce an object. If parsing succeeds, then the index of the cursor
argument is updated to the index after the last character used.
csq | the character sequence to parse. |
cursor | the cursor holding the current parsing index. |
IllegalArgumentException | if the syntax of the specified character sequence is incorrect. |
UnsupportedOperationException | if parsing is not supported. |
Reimplemented from javolution.text.TextFormat< T >.
Definition at line 666 of file FastCollection.java.