All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.classifiers.functions.pace.FlexibleDecimalFormat

java.lang.Object
    |
    +----java.text.Format
            |
            +----java.text.NumberFormat
                    |
                    +----java.text.DecimalFormat
                            |
                            +----weka.classifiers.functions.pace.FlexibleDecimalFormat

public class FlexibleDecimalFormat
extends java.text.DecimalFormat

Constructor Index

 o FlexibleDecimalFormat()
 
 o FlexibleDecimalFormat(double)
 
 o FlexibleDecimalFormat(int)
 
 o FlexibleDecimalFormat(int, boolean)
 
 o FlexibleDecimalFormat(int, boolean, boolean, boolean)
 

Method Index

 o format(double, StringBuffer, FieldPosition)
 
 o formatString(String)
 
 o grouping(boolean)
 
 o needExponentialFormat(double)
 
 o update(double)
 
 o width()
 

Constructor Detail

 o FlexibleDecimalFormat
public FlexibleDecimalFormat()
 o FlexibleDecimalFormat
public FlexibleDecimalFormat(int digits)
 o FlexibleDecimalFormat
public FlexibleDecimalFormat(int digits,
                             boolean trailing)
 o FlexibleDecimalFormat
public FlexibleDecimalFormat(int digits,
                             boolean exp,
                             boolean trailing,
                             boolean grouping)
 o FlexibleDecimalFormat
public FlexibleDecimalFormat(double d)

Method Detail

 o update
public void update(double d)
 o needExponentialFormat
public boolean needExponentialFormat(double d)
 o grouping
public void grouping(boolean grouping)
 o format
public java.lang.StringBuffer format(double number,
                           java.lang.StringBuffer toAppendTo,
                           java.text.FieldPosition pos)
Overrides:
format in class java.text.DecimalFormat
 o width
public int width()
 o formatString
public java.lang.StringBuffer formatString(java.lang.String str)

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home