モジュール java.base
パッケージ java.text

クラスNumberFormat.Field

  • すべての実装されたインタフェース:
    Serializable
    含まれているクラス:
    NumberFormat

    public static class NumberFormat.Field
    extends Format.Field
    NumberFormat.formatToCharacterIteratorから返されたAttributedCharacterIterator内の属性キー、およびFieldPosition内のフィールド識別子として使用する定数を定義します。
    導入されたバージョン:
    1.4
    関連項目:
    直列化された形式
    • フィールドの詳細

      • INTEGER

        public static final NumberFormat.Field INTEGER
        整数のフィールドを識別する定数です。
      • FRACTION

        public static final NumberFormat.Field FRACTION
        小数のフィールドを識別する定数です。
      • EXPONENT

        public static final NumberFormat.Field EXPONENT
        指数のフィールドを識別する定数です。
      • DECIMAL_SEPARATOR

        public static final NumberFormat.Field DECIMAL_SEPARATOR
        区切り文字のフィールドを識別する定数です。
      • SIGN

        public static final NumberFormat.Field SIGN
        符号のフィールドを識別する定数です。
      • GROUPING_SEPARATOR

        public static final NumberFormat.Field GROUPING_SEPARATOR
        グループ区切り子のフィールドを識別する定数です。
      • EXPONENT_SYMBOL

        public static final NumberFormat.Field EXPONENT_SYMBOL
        指数記号のフィールドを識別する定数です。
      • PERCENT

        public static final NumberFormat.Field PERCENT
        パーセントのフィールドを識別する定数です。
      • PERMILLE

        public static final NumberFormat.Field PERMILLE
        パーミルのフィールドを識別する定数です。
      • CURRENCY

        public static final NumberFormat.Field CURRENCY
        通貨のフィールドを識別する定数です。
      • EXPONENT_SIGN

        public static final NumberFormat.Field EXPONENT_SIGN
        指数符号のフィールドを識別する定数です。
    • コンストラクタの詳細

      • Field

        protected Field​(String name)
        指定された名前を持つFieldインスタンスを作成します。
        パラメータ:
        name - 属性の名前