java.util
列舉 Formatter.BigDecimalLayoutForm
java.lang.Object
java.lang.Enum<Formatter.BigDecimalLayoutForm>
java.util.Formatter.BigDecimalLayoutForm
- 所有已實作的介面:
- Serializable, Comparable<Formatter.BigDecimalLayoutForm>
- 正在封閉類別:
- Formatter
public static enum Formatter.BigDecimalLayoutForm
- extends Enum<Formatter.BigDecimalLayoutForm>
SCIENTIFIC
public static final Formatter.BigDecimalLayoutForm SCIENTIFIC
DECIMAL_FLOAT
public static final Formatter.BigDecimalLayoutForm DECIMAL_FLOAT
values
public static final Formatter.BigDecimalLayoutForm[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for(Formatter.BigDecimalLayoutForm c : Formatter.BigDecimalLayoutForm.values())
System.out.println(c);
- 返回:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Formatter.BigDecimalLayoutForm valueOf(String name)
- 返回帶有指定名稱的該型別的列舉常數。
字元串必須與用於宣告該型別的列舉常數的
標識符完全比對。(不允許有多餘
的空格。)
- 參數:
指定要返回的列舉常數的名稱。
-
- 返回:
- 返回帶有指定名稱的列舉常數
- 拋出:
如果該列舉型別沒有帶有指定名稱的常數,
- 則拋出 IllegalArgumentException
提交錯誤或意見版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。