|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkeso.core.MT_U8
public final class MT_U8
This memory type allows to an unsigned 8-bit value.
| Method Summary | |
|---|---|
void |
and(int i)
Computes the bitwise AND of the mapped value and the given mask, and overwrites the mapped value with the result of this computation. |
void |
clearBit(int i)
Clears the given bit in the mapped value. |
boolean |
equals(Object o)
Returns true if both mapped fields are mapped to the same address. |
int |
get()
Reads the value from the target location of the mapping. |
int |
hashCode()
|
boolean |
isBitClear(int i)
Checks if a given bit of the mapped value is cleared |
boolean |
isBitSet(int i)
Checks if a given bit of the mapped value is set |
void |
or(int i)
Computes the bitwise OR of the mapped value and the given mask, and overwrites the mapped value with the result of this computation. |
void |
set(int i)
Stores a value to the target location of the mapping. |
void |
setBit(int i)
Sets the given bit in the mapped value. |
String |
toString()
|
void |
xor(int i)
Computes the bitwise exclusive OR (XOR) of the mapped value and the given mask, and overwrites the mapped value with the result of this computation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait |
| Method Detail |
|---|
public int get()
public void set(int i)
i - the value to store.public void and(int i)
i - the mask used in the operationpublic void or(int i)
i - the mask used in the operationpublic void xor(int i)
i - the mask used in the operationpublic void setBit(int i)
i - position of the bit to be set (0-7)public void clearBit(int i)
i - position of the bit to be cleared (0-7)public boolean isBitSet(int i)
i - position of the bit to be checked (0-7)
public boolean isBitClear(int i)
i - position of the bit to be checked (0-7)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||