aicas logo Jamaica 3.4 release 8

sun.misc
Class FormattedFloatingDecimal

java.lang.Object
  extended by sun.misc.FormattedFloatingDecimal

public class FormattedFloatingDecimal
extends Object


Nested Class Summary
static class FormattedFloatingDecimal.Form
           
 
Constructor Summary
FormattedFloatingDecimal(double d)
           
FormattedFloatingDecimal(double d, int precision, FormattedFloatingDecimal.Form form)
           
FormattedFloatingDecimal(float f)
           
FormattedFloatingDecimal(float f, int precision, FormattedFloatingDecimal.Form form)
           
 
Method Summary
 void appendTo(Appendable buf)
           
 double doubleValue()
           
 float floatValue()
           
 int getChars(char[] result)
           
 int getExponent()
           
 int getExponentRounded()
           
static FormattedFloatingDecimal readJavaFormatString(String in)
           
 String toJavaFormatString()
           
 String toString()
          toString creates a printable string that represents this object for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormattedFloatingDecimal

public FormattedFloatingDecimal(double d)

FormattedFloatingDecimal

public FormattedFloatingDecimal(double d,
                                int precision,
                                FormattedFloatingDecimal.Form form)

FormattedFloatingDecimal

public FormattedFloatingDecimal(float f)

FormattedFloatingDecimal

public FormattedFloatingDecimal(float f,
                                int precision,
                                FormattedFloatingDecimal.Form form)
Method Detail

toString

public String toString()
Description copied from class: Object
toString creates a printable string that represents this object for debugging purposes.

The default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).

Overrides:
toString in class Object
Returns:
a string identifying this object.

toJavaFormatString

public String toJavaFormatString()

getExponent

public int getExponent()

getExponentRounded

public int getExponentRounded()

getChars

public int getChars(char[] result)

appendTo

public void appendTo(Appendable buf)

readJavaFormatString

public static FormattedFloatingDecimal readJavaFormatString(String in)
                                                     throws NumberFormatException
Throws:
NumberFormatException

doubleValue

public double doubleValue()

floatValue

public float floatValue()

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.