メインページ | ネームスペース一覧 | クラス階層 | データ構造 | Directories | ファイル一覧 | データフィールド

クラス sdl4gcj::Version

The Version class represents version number of library. [詳細]


Public メソッド

 Version (int major, int minor, int patch)
int getMajor ()
 Returns the major version number as integer.
int getMinor ()
 Returns the minor version number as integer.
int getPatch ()
 Returns the patch level as integer.
boolean equals (Object obj)
 Compares this version to the specified object.
int hashCode ()
String toString ()
 Returns the string representation of the reciever.

Private 変数

int major
int minor
int patch
String versionString = null


説明

The Version class represents version number of library.

This class is immutable.

作者:
Masahiko SAWAI
参照:
sdl4gcj.Sys::compiledVersion() : Version

sdl4gcj.Sys::linkedVersion() : Version


コンストラクタとデストラクタ

sdl4gcj::Version::Version int  major,
int  minor,
int  patch
[inline]
 


関数

boolean sdl4gcj::Version::equals Object  obj  )  [inline]
 

Compares this version to the specified object.

The result is true if and only if the arguments is not null and is a Version object that represents the same version as thie object.

引数:
obj the object to compare this Version against.
戻り値:
true if the Version are equal, false otherwise.

int sdl4gcj::Version::getMajor  )  [inline]
 

Returns the major version number as integer.

戻り値:
major version

int sdl4gcj::Version::getMinor  )  [inline]
 

Returns the minor version number as integer.

戻り値:
minor version

int sdl4gcj::Version::getPatch  )  [inline]
 

Returns the patch level as integer.

戻り値:
patch level

int sdl4gcj::Version::hashCode  )  [inline]
 

String sdl4gcj::Version::toString  )  [inline]
 

Returns the string representation of the reciever.

戻り値:
a string representation


構造体

int sdl4gcj::Version::major [private]
 

int sdl4gcj::Version::minor [private]
 

int sdl4gcj::Version::patch [private]
 

String sdl4gcj::Version::versionString = null [private]
 


このクラスの説明は次のファイルから生成されました:
sdl4gcjに対してSun Aug 28 16:31:22 2005に生成されました。  doxygen 1.4.3