|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSOpts
class TSOpts
.
====================================================================== Class TSOpts -- Definition and control of an option-memory Diese Klasse stellt AUCH Statische Methoden der gleichen Funktionen mit gleichem Namen bereit, bei denen der Maskenwert angegeben werden muss und die den NEUEN Maskenwert liefern. ##TSOpts (Eyecatcher) ======================================================================
Field Summary | |
---|---|
protected static java.lang.String |
IdStr
|
private int |
Msk
|
Constructor Summary | |
---|---|
protected |
TSOpts()
. |
protected |
TSOpts(int w)
. |
protected |
TSOpts(TSOpts cO)
. |
Method Summary | |
---|---|
protected int |
$init(int w)
. |
protected boolean |
chkMsk(int nr)
. |
protected static boolean |
chkMsk(int nr,
int msk)
. |
protected boolean |
clrMsk(int nr)
. |
protected static int |
clrMsk(int nr,
int msk)
. |
protected int |
cntMsk(int m)
. |
protected static int |
cntMsk(int m,
int msk)
. |
protected int |
fndMsk(boolean cnd)
. |
protected int |
getMsk(int m)
. |
protected int |
orMsk(int m)
. |
protected int |
orMsk(TSOpts m)
. |
protected java.lang.String |
prtMsk(int m)
. |
protected int |
resMsk(int m)
. |
protected boolean |
setMsk(int nr)
. |
protected static int |
setMsk(int nr,
int msk)
. |
protected java.lang.String |
toStr()
. |
protected int |
tstMsk(int m)
. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String IdStr
private int Msk
Constructor Detail |
---|
protected TSOpts()
===================================================================== Constructor: (1) Create default-entry =====================================================================
protected TSOpts(int w)
===================================================================== Constructor: (2) Create standard-entry =====================================================================
protected TSOpts(TSOpts cO)
===================================================================== Constructor: (3) Create entry using template =====================================================================
Method Detail |
---|
protected final int $init(int w)
===================================================================== Methode "$init" Reinitialize Option-Mask (mask is reusable) Use argument 'w' as initial value. ##$init.TSOpts (Eyecatcher) =====================================================================
protected boolean chkMsk(int nr)
===================================================================== Method "chkMsk" Check optionsmask according to bitnumber specified as 'nr' (0..31). Method returns 'true' if the Definition/Option is set! If invalid bitnumber is specified, 'IllegalArgumentException' is thrown. ##chkMsk.TSOpts (Eyecatcher) =====================================================================
protected static boolean chkMsk(int nr, int msk)
===================================================================== Methode "chkMsk" (static version (32)) Check provided optionsmask according to bitnumber specified as 'nr' (0..31). Method returns 'true' if the Definition/Option is set! If invalid bitnumber is specified, 'IllegalArgumentException' is thrown. ##chkMsk.TSOpts (Eyecatcher) =====================================================================
protected final boolean clrMsk(int nr)
===================================================================== Method "clrMsk" Clear optionbit according to bitnumber specified as 'nr' (0..31). Method returns state of selected optionbit BEFORE is was cleared. If invalid bitnumber is specified, 'IllegalArgumentException' is thrown. ##clrMsk.TSOpts (Eyecatcher) =====================================================================
protected static int clrMsk(int nr, int msk)
===================================================================== Method "clrMsk" (static Version (32)) Optionen-Maske gemaess Definitionsnummer loeschen Achtung: Methode liefert die neue Optionenmaske ##clrMsk.TSOpts (Eyecatcher) =====================================================================
protected final int cntMsk(int m)
===================================================================== Methode "cntMsk" Anzahl der relevanten Optionen zaehlen, die aktiv sind Bei Maske '-1' (=0xFFFFFFFF) sind ALLE Optionen relevant Methode liefert die Anzahl gesetzter Optionen Die gespeicherte Maske wird NICHT veraendert ##cntMsk.TSOpts (Eyecatcher) =====================================================================
protected static int cntMsk(int m, int msk)
===================================================================== Methode "cntMsk" (statische Version (32)) Anzahl der relevanten Optionen zaehlen, die aktiv sind Bei Maske '-1' (=0xFFFFFFFF) (oder '0') sind ALLE Optionen relevant Methode liefert die Anzahl gesetzter Optionen ##cntMsk.TSOpts (Eyecatcher) =====================================================================
protected final int fndMsk(boolean cnd)
===================================================================== Methode "fndMsk" Search optionmask for first bit which is 'set' or 'not set'. Method returns lowest number of Bit due to requested condition. If NO bit of the condition can be found, 'Integer.MIN_VALUE' is returned. ##fndMsk.TSOpts (Eyecatcher) =====================================================================
protected final int getMsk(int m)
===================================================================== Methode "getMsk" Optionen-Maske maskiert liefern Maske '-1' (=0xFFFFFFFF) (or '0') liefert ALLE Optionen Die gespeicherte Maske wird NICHT veraendert ##getMsk.TSOpts (Eyecatcher) =====================================================================
protected final int orMsk(int m)
===================================================================== Methode "orMsk" Extend optionmask. Method returns mask of newly set bits. ##orMsk.TSOpts (Eyecatcher) =====================================================================
protected final int orMsk(TSOpts m)
===================================================================== Method "orMsk" (object-version) Extend optionmask using another TSOpts-object. Method returns mask of newly set bits. ##orMsk.TSOpts (Eyecatcher) =====================================================================
protected java.lang.String prtMsk(int m)
===================================================================== Method "prtMsk" Build a hexadecimal string-representation of the current Mask. Mask '-1' (=0xFFFFFFFF) (or '0') return ALL options as valid. ##prtMsk.TSOpts (Eyecatcher) =====================================================================
protected final int resMsk(int m)
===================================================================== Methode "resMsk" Selektierte Definitionen der Optionen-Maske zuruecksetzen Methode liefert Maske der Werte, die geloescht wurden Maske '-1' (=0xFFFFFFFF) loescht ALLE Optionen ##resMsk.TSOpts (Eyecatcher) =====================================================================
protected final boolean setMsk(int nr)
===================================================================== Methode "setMsk" Optionen-Maske gemaess Definitionsnummer setzen Methode liefert den Status des Maskenbits VOR dem Setzen ##setMsk.TSOpts (Eyecatcher) =====================================================================
protected static int setMsk(int nr, int msk)
===================================================================== Methode "setMsk" (statische Version (32)) Optionen-Maske gemaess Definitionsnummer setzen Achtung: Methode liefert die neue Optionenmaske ##setMsk.TSOpts (Eyecatcher) =====================================================================
protected final int tstMsk(int m)
===================================================================== Methode "tstMsk" Pruefen der relevanten Optionen ob diese aktiv sind Bei Maske '-1' (=0xFFFFFFFF) (or '0') sind ALLE Optionen relevant Methode liefert die Maske der NOCH NICHT gesetzen relevanten Optionen Die gespeicherte Maske wird NICHT veraendert ##tstMsk.TSOpts (Eyecatcher) =====================================================================
protected java.lang.String toStr()
===================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSOpts (Eyecatcher) =====================================================================
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |