public static class NumberFormat.Field extends Format.Field
AttributedCharacterIterator
返回的
NumberFormat.formatToCharacterIterator
中用作属性键的
AttributedCharacterIterator
,以及FieldPosition中的字段
FieldPosition
。
Modifier and Type | Field and Description |
---|---|
static NumberFormat.Field |
CURRENCY
不断识别货币字段。
|
static NumberFormat.Field |
DECIMAL_SEPARATOR
常数标识小数分隔符字段。
|
static NumberFormat.Field |
EXPONENT
常数识别指数字段。
|
static NumberFormat.Field |
EXPONENT_SIGN
常数识别指数符号字段。
|
static NumberFormat.Field |
EXPONENT_SYMBOL
常数识别指数符号字段。
|
static NumberFormat.Field |
FRACTION
常数识别分数字段。
|
static NumberFormat.Field |
GROUPING_SEPARATOR
常数标识分组分隔符字段。
|
static NumberFormat.Field |
INTEGER
常量识别整数字段。
|
static NumberFormat.Field |
PERCENT
不断识别百分比字段。
|
static NumberFormat.Field |
PERMILLE
常数识别容错字段。
|
static NumberFormat.Field |
SIGN
常量识别符号字段。
|
INPUT_METHOD_SEGMENT, LANGUAGE, READING
Modifier and Type | Method and Description |
---|---|
protected Object |
readResolve()
解析反序列化为预定义常量的实例。
|
equals, getName, hashCode, toString
public static final NumberFormat.Field INTEGER
public static final NumberFormat.Field FRACTION
public static final NumberFormat.Field EXPONENT
public static final NumberFormat.Field DECIMAL_SEPARATOR
public static final NumberFormat.Field SIGN
public static final NumberFormat.Field GROUPING_SEPARATOR
public static final NumberFormat.Field EXPONENT_SYMBOL
public static final NumberFormat.Field PERCENT
public static final NumberFormat.Field PERMILLE
public static final NumberFormat.Field CURRENCY
public static final NumberFormat.Field EXPONENT_SIGN
protected Field(String name)
name
-
name
名称
protected Object readResolve() throws InvalidObjectException
readResolve
在
AttributedCharacterIterator.Attribute
InvalidObjectException
- 如果常数无法解决。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.