|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ejie.r01f.util.BaseBitMap
Clase que encapsula un mapa de bits en un int (en Java los int son 4 bytes). Por ejemplo codificando en el último byte información de seguridad: ControlTotal ---------------------------------------------- Administrar Seguridad ----------------------------------- | Borrado ----------------------------------------------- | | Lectura --------------------------------------------- | | | Escritura ----------------------------------------- | | | | Crear ------------------------------------------- | | | | | | | | | | | 0 0 0 0 0 0 0 0 | 0 0 0 0 0 0 0 0 Por ejemplo: X X X 00011010: Puede administrar seguridad, leer y escribir pero no puede crear ni tiene control total
Constructor Summary | |
BaseBitMap()
Constructor vacío |
|
BaseBitMap(int newBitMap)
Constructor en base a otro bitmap |
Method Summary | |
java.lang.String |
composeDebugInfo()
Muestra información de depuración |
int |
getBitMap()
Obtiene el bitmap en forma de entero |
void |
incorporateBitMapInfo(BaseBitMap otherFlags)
Incorpora la información de bitMap de otro objeto que se pasa como parámetro. |
static void |
main(java.lang.String[] args)
Main Method |
int |
setBitMap(int theBitMap)
Establece el bitmap |
java.lang.String |
toString()
Devuelve el bitmap en forma de cadena |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseBitMap()
public BaseBitMap(int newBitMap)
Method Detail |
public int getBitMap()
public int setBitMap(int theBitMap)
theBitMap
- El nuevo bitmap
public void incorporateBitMapInfo(BaseBitMap otherFlags)
public java.lang.String composeDebugInfo()
public java.lang.String toString()
public static void main(java.lang.String[] args)
args
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |