|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttcra.MathTypeParser
tcra.MathIntegerParser
public class MathIntegerParser
MathIntegerParser is used to parse a MathInteger out of a String. If a valid integer can not be parsed, a MathFormatException is thrown.
| Constructor Summary | |
|---|---|
MathIntegerParser()
Default constructor. |
|
| Method Summary | |
|---|---|
MathInteger |
parse(java.lang.StringBuilder input)
Consumes all the characters from the front of a String until it finds a ',' or '>'. |
| Methods inherited from class tcra.MathTypeParser |
|---|
eatWhitespace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MathIntegerParser()
| Method Detail |
|---|
public MathInteger parse(java.lang.StringBuilder input)
throws MathFormatException
parse in class MathTypeParserinput - String that contains an integer at the front.
MathFormatException - If what is read is not a valid
integer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||