org.boxed_economy.besp.model.fmfw.informations
クラス IntegerInformation
java.lang.Object
org.boxed_economy.besp.model.fmfw.FmFwObject
org.boxed_economy.besp.model.fmfw.AbstractInformation
org.boxed_economy.besp.model.fmfw.informations.IntegerInformation
- すべての実装インタフェース:
- Information, java.io.Serializable
- public class IntegerInformation
- extends AbstractInformation
1つの整数(int)をラップしたInformationです。
整数1つを情報として扱う場合の便利クラスとして用意しました。
- バージョン:
- $Id: IntegerInformation.java,v 1.1 2004/03/21 12:07:49 macchan Exp $
- 作成者:
- rx78g
- 関連項目:
- 直列化された形式
クラス java.lang.Object から継承したメソッド |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IntegerInformation
public IntegerInformation(int value)
- Method IntegerInformation.
- パラメータ:
value
-
getValue
public int getValue()
- Returns the value.
- 戻り値:
- int
setValue
public void setValue(int value)
- Sets the value.
- パラメータ:
value
- The value to set
equals
public boolean equals(java.lang.Object o)
- 関連項目:
Object#equals()
toString
public java.lang.String toString()
- 関連項目:
Object.toString()