coins.sym
クラス FlagBoxImpl

java.lang.Object
  |
  +--coins.sym.FlagBoxImpl
すべての実装インタフェース:
FlagBox

public class FlagBoxImpl
extends java.lang.Object
implements FlagBox


コンストラクタの概要
FlagBoxImpl()
           
 
メソッドの概要
 boolean allFalse()
          allFalse true if all flags are false, flase if some flag is true;
 boolean getFlag(int pFlagNumber)
          getFlag getFlag returns the value (true/false) of the flag indicated by pFlagNumber.
 void setFlag(int pFlagNumber, boolean pYesNo)
          setFlag setFlag sets the flag of specified number.
 java.lang.String toString()
          toString Get all true flags by giving their flag number.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

FlagBoxImpl

public FlagBoxImpl()
メソッドの詳細

getFlag

public boolean getFlag(int pFlagNumber)
getFlag getFlag returns the value (true/false) of the flag indicated by pFlagNumber.

定義:
インタフェース FlagBox 内の getFlag
パラメータ:
pFlagNumber - flag identification number.
戻り値:
boolean which indicates pFlagNumber's flag.

setFlag

public void setFlag(int pFlagNumber,
                    boolean pYesNo)
setFlag setFlag sets the flag of specified number.

定義:
インタフェース FlagBox 内の setFlag
パラメータ:
pFlagNumber - flag identification number.
pYesNo - true or false to be set to the flag.

allFalse

public boolean allFalse()
インタフェース FlagBox の記述:
allFalse true if all flags are false, flase if some flag is true;

定義:
インタフェース FlagBox 内の allFalse

toString

public java.lang.String toString()
インタフェース FlagBox の記述:
toString Get all true flags by giving their flag number.

定義:
インタフェース FlagBox 内の toString
オーバーライド:
クラス java.lang.Object 内の toString