weka.classifiers.functions.pace
Class ExponentialFormat

java.lang.Object
  extended byjava.text.Format
      extended byjava.text.NumberFormat
          extended byjava.text.DecimalFormat
              extended byweka.classifiers.functions.pace.ExponentialFormat
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class ExponentialFormat
extends java.text.DecimalFormat

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.text.NumberFormat
java.text.NumberFormat.Field
 
Nested classes inherited from class java.text.Format
 
Field Summary
protected  int digits
           
protected  int exp
           
protected  java.text.DecimalFormat nf
           
protected  boolean sign
           
protected  boolean trailing
           
 
Fields inherited from class java.text.DecimalFormat
 
Fields inherited from class java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD
 
Constructor Summary
ExponentialFormat()
           
ExponentialFormat(int digits)
           
ExponentialFormat(int digits, boolean trailing)
           
ExponentialFormat(int digits, int exp, boolean sign, boolean trailing)
           
 
Method Summary
 java.lang.StringBuffer format(double number, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
           
private  java.lang.String pattern()
           
 int width()
           
 
Methods inherited from class java.text.DecimalFormat
applyLocalizedPattern, applyPattern, clone, equals, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, hashCode, isDecimalSeparatorAlwaysShown, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setPositivePrefix, setPositiveSuffix, toLocalizedPattern, toPattern
 
Methods inherited from class java.text.NumberFormat
format, format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setGroupingUsed, setParseIntegerOnly
 
Methods inherited from class java.text.Format
format, parseObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nf

protected java.text.DecimalFormat nf

sign

protected boolean sign

digits

protected int digits

exp

protected int exp

trailing

protected boolean trailing
Constructor Detail

ExponentialFormat

public ExponentialFormat()

ExponentialFormat

public ExponentialFormat(int digits)

ExponentialFormat

public ExponentialFormat(int digits,
                         boolean trailing)

ExponentialFormat

public ExponentialFormat(int digits,
                         int exp,
                         boolean sign,
                         boolean trailing)
Method Detail

width

public int width()

format

public java.lang.StringBuffer format(double number,
                                     java.lang.StringBuffer toAppendTo,
                                     java.text.FieldPosition pos)

pattern

private java.lang.String pattern()