org.geotools.resources
Class NumberParser

java.lang.Object
  extended byorg.geotools.resources.NumberParser

public final class NumberParser
extends java.lang.Object

A faster implementation of Double.parseDouble(java.lang.String).


Constructor Summary
NumberParser()
           
 
Method Summary
 double doubleValue()
           
 double parseDouble(java.lang.CharSequence s, int start, int end)
           
 double parseDouble(java.lang.String s)
           
 int parseInt(java.lang.CharSequence s, int start, int end)
           
 int parseInt(java.lang.String s)
           
 long parseLong(java.lang.CharSequence s, int start, int end)
           
 long parseLong(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberParser

public NumberParser()
Method Detail

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.