|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.text.Format | +--java.text.NumberFormat | +--java.text.DecimalFormat | +--weka.classifiers.functions.pace.FloatingPointFormat
Class for the format of floating point numbers
Field Summary |
Fields inherited from class java.text.NumberFormat |
FRACTION_FIELD, INTEGER_FIELD |
Constructor Summary | |
FloatingPointFormat()
Default constructor |
|
FloatingPointFormat(int digits)
|
|
FloatingPointFormat(int w,
int d)
|
|
FloatingPointFormat(int w,
int d,
boolean trailingZeros)
|
Method Summary | |
java.lang.StringBuffer |
format(double number,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition pos)
|
static java.lang.String |
pattern(int w,
int d)
|
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 |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FloatingPointFormat()
public FloatingPointFormat(int digits)
public FloatingPointFormat(int w, int d)
public FloatingPointFormat(int w, int d, boolean trailingZeros)
Method Detail |
public java.lang.StringBuffer format(double number, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
format
in class java.text.DecimalFormat
public static java.lang.String pattern(int w, int d)
public int width()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London