程序包 weka.core.matrix
类 FlexibleDecimalFormat
java.lang.Object
java.text.Format
java.text.NumberFormat
java.text.DecimalFormat
weka.core.matrix.FlexibleDecimalFormat
- 所有已实现的接口:
Serializable
,Cloneable
,RevisionHandler
- 版本:
- $Revision: 1.4 $
- 作者:
- Yong Wang
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 java.text.NumberFormat
NumberFormat.Field, NumberFormat.Style
-
字段概要
从类继承的字段 java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD
-
构造器概要
构造器构造器说明FlexibleDecimalFormat
(double d) FlexibleDecimalFormat
(int digits) FlexibleDecimalFormat
(int digits, boolean trailing) FlexibleDecimalFormat
(int digits, boolean exp, boolean trailing, boolean grouping) -
方法概要
修饰符和类型方法说明format
(double number, StringBuffer toAppendTo, FieldPosition pos) formatString
(String str) Returns the revision string.void
grouping
(boolean grouping) boolean
needExponentialFormat
(double d) void
update
(double d) int
width()
从类继承的方法 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
从类继承的方法 java.text.NumberFormat
format, format, getAvailableLocales, getCompactNumberInstance, getCompactNumberInstance, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnly
从类继承的方法 java.text.Format
format, parseObject
-
构造器详细资料
-
FlexibleDecimalFormat
public FlexibleDecimalFormat() -
FlexibleDecimalFormat
public FlexibleDecimalFormat(int digits) -
FlexibleDecimalFormat
public FlexibleDecimalFormat(int digits, boolean trailing) -
FlexibleDecimalFormat
public FlexibleDecimalFormat(int digits, boolean exp, boolean trailing, boolean grouping) -
FlexibleDecimalFormat
public FlexibleDecimalFormat(double d)
-
-
方法详细资料
-
update
public void update(double d) -
needExponentialFormat
public boolean needExponentialFormat(double d) -
grouping
public void grouping(boolean grouping) -
format
- 覆盖:
format
在类中DecimalFormat
-
width
public int width() -
formatString
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-