Package weka.core.matrix
Class ExponentialFormat
- java.lang.Object
-
- java.text.Format
-
- java.text.NumberFormat
-
- java.text.DecimalFormat
-
- weka.core.matrix.ExponentialFormat
-
- All Implemented Interfaces:
Serializable,Cloneable,RevisionHandler
public class ExponentialFormat extends DecimalFormat implements RevisionHandler
- Version:
- $Revision$
- Author:
- Yong Wang
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.text.NumberFormat
NumberFormat.Field
-
-
Field Summary
-
Fields inherited from class java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD
-
-
Constructor Summary
Constructors Constructor Description ExponentialFormat()ExponentialFormat(int digits)ExponentialFormat(int digits, boolean trailing)ExponentialFormat(int digits, int exp, boolean sign, boolean trailing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBufferformat(double number, StringBuffer toAppendTo, FieldPosition pos)StringgetRevision()Returns the revision string.intwidth()-
Methods inherited from class java.text.DecimalFormat
applyLocalizedPattern, applyPattern, clone, equals, format, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, getRoundingMode, hashCode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, setRoundingMode, toLocalizedPattern, toPattern
-
Methods inherited from class java.text.NumberFormat
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnly
-
Methods inherited from class java.text.Format
format, parseObject
-
-
-
-
Method Detail
-
width
public int width()
-
format
public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos)
- Overrides:
formatin classDecimalFormat
-
getRevision
public String getRevision()
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-
-