|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド | |||||||||
java.lang.Objectjava.lang.Enum<QuantityType>
org.mklab.tool.control.system.parameter.QuantityType
public enum QuantityType
量の型を表わす列挙型です。
| 列挙型定数の概要 | |
|---|---|
LENGTH
長さ |
|
MASS
質量 |
|
MOMENT_OF_INERTIA
慣性モーメント |
|
PERIOD
周期 |
|
UNDEFINED
不定 |
|
| メソッドの概要 | |
|---|---|
String |
getName()
名前を返します。 |
Unit |
getUnit()
単位を返します。 |
String |
toString()
|
static QuantityType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static QuantityType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
| クラス java.lang.Enum から継承されたメソッド |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| クラス java.lang.Object から継承されたメソッド |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 列挙型定数の詳細 |
|---|
public static final QuantityType LENGTH
public static final QuantityType MASS
public static final QuantityType MOMENT_OF_INERTIA
public static final QuantityType PERIOD
public static final QuantityType UNDEFINED
| メソッドの詳細 |
|---|
public static QuantityType[] values()
for (QuantityType c : QuantityType.values()) System.out.println(c);
public static QuantityType valueOf(String name)
name - 返される列挙型定数の名前
IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合
NullPointerException - 引数が null の場合public String toString()
Enum<QuantityType> 内の toStringEnum.toString()public String getName()
public Unit getUnit()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド | |||||||||