public static class Index.Decimal extends TextFormat<Index>
Constructor and Description |
---|
Index.Decimal() |
Modifier and Type | Method and Description |
---|---|
Appendable |
format(Index obj,
Appendable dest)
Formats the specified object into an
Appendable |
Index |
parse(CharSequence csq,
Cursor cursor)
Reads a portion of the specified
CharSequence from the
specified cursor position to produce an object. |
format, format, parse
public Appendable format(Index obj, Appendable dest) throws IOException
TextFormat
Appendable
format
in class TextFormat<Index>
obj
- the object to format.dest
- the appendable destination.Appendable
.IOException
public Index parse(CharSequence csq, Cursor cursor) throws IllegalArgumentException
TextFormat
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.parse
in class TextFormat<Index>
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.Copyright © 2005-2013 Javolution. All Rights Reserved.