Package com.ibm.icu.impl.number
Class PatternStringParser.ParserState
- java.lang.Object
-
- com.ibm.icu.impl.number.PatternStringParser.ParserState
-
- Enclosing class:
- PatternStringParser
private static class PatternStringParser.ParserState extends java.lang.Object
An internal class used for tracking the cursor during parsing of a pattern string.
-
-
Constructor Summary
Constructors Constructor Description ParserState(java.lang.String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
next()
Returns the next code point and then steps forward.(package private) int
peek()
Returns the next code point, or -1 if string is too short.(package private) int
peek2()
Returns the code point after the next code point, or -1 if string is too short.(package private) java.lang.IllegalArgumentException
toParseException(java.lang.String message)
-
-
-
Method Detail
-
peek
int peek()
Returns the next code point, or -1 if string is too short.
-
peek2
int peek2()
Returns the code point after the next code point, or -1 if string is too short.
-
next
int next()
Returns the next code point and then steps forward.
-
toParseException
java.lang.IllegalArgumentException toParseException(java.lang.String message)
-
-