Returns the {@link com.google.gson.stream.JsonToken#NUMBER int} value of the next token,consuming it. If the next token is a string, this method will attempt to parse it as an int. If the next token's numeric value cannot be exactly represented by a Java {@code int}, this method throws.
@throws IllegalStateException if the next token is not a literal value.
@throws NumberFormatException if the next literal value cannot be parsedas a number, or exactly represented as an int.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.