org.geotools.resources
Class NumberParser
java.lang.Object
org.geotools.resources.NumberParser
- public final class NumberParser
- extends java.lang.Object
A faster implementation of Double.parseDouble(java.lang.String)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberParser
public NumberParser()
parseInt
public int parseInt(java.lang.String s)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
parseInt
public int parseInt(java.lang.CharSequence s,
int start,
int end)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
parseLong
public long parseLong(java.lang.String s)
parseLong
public long parseLong(java.lang.CharSequence s,
int start,
int end)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
parseDouble
public double parseDouble(java.lang.String s)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
parseDouble
public double parseDouble(java.lang.CharSequence s,
int start,
int end)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
doubleValue
public double doubleValue()
Copyright © GeoTools. All Rights Reserved.