weka.core.matrix
Class ExponentialFormat
- java.lang.Object
-
- java.text.Format
-
- java.text.NumberFormat
-
- java.text.DecimalFormat
-
- weka.core.matrix.ExponentialFormat
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, RevisionHandler
public class ExponentialFormat extends java.text.DecimalFormat implements RevisionHandler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and 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 and Description java.lang.StringBufferformat(double number, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)java.lang.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
-
-
-
-
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)- Overrides:
formatin classjava.text.DecimalFormat
-
getRevision
public java.lang.String getRevision()
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-
-
DataMelt 3.0 © DataMelt by jWork.ORG