stardiv.memory
Class AtomUnion
java.lang.Object
|
+--stardiv.memory.AtomUnion
- All Implemented Interfaces:
- stardiv.memory.UnionAccess
- public final synchronized class AtomUnion
- extends java.lang.Object
- implements stardiv.memory.UnionAccess
|
Field Summary |
private stardiv.memory.LocalAtomHeap |
aHeap
|
private int |
iPackedIndex
|
| Fields inherited from interface stardiv.memory.UnionAccess |
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, OBJECT, PRIVATE_STRING, SHORT, VOID |
|
Constructor Summary |
AtomUnion()
|
AtomUnion(boolean b)
|
AtomUnion(byte b)
|
AtomUnion(char c)
|
AtomUnion(double d)
|
AtomUnion(float f)
|
AtomUnion(int i)
|
AtomUnion(java.lang.Object o)
|
AtomUnion(long l)
|
AtomUnion(short s)
|
AtomUnion(stardiv.memory.LocalAtomHeap lah)
|
|
Method Summary |
static int |
calculateIndex(int i)
|
static int |
calculatePackedIndex(int i1,
int i2)
|
protected void |
finalize()
|
private void |
free()
|
boolean |
getBoolean()
|
byte |
getByte()
|
char |
getChar()
|
double |
getDouble()
|
float |
getFloat()
|
stardiv.memory.LocalAtomHeap |
getHeap()
|
int |
getInt()
|
long |
getLong()
|
java.lang.Object |
getObject()
|
short |
getShort()
|
int |
getType()
|
static int |
getType(int i)
|
void |
setBoolean(boolean b)
|
void |
setByte(byte b)
|
void |
setChar(char c)
|
void |
setDouble(double d)
|
void |
setFloat(float f)
|
void |
setInt(int i)
|
void |
setLong(long l)
|
void |
setObject(java.lang.Object o)
|
void |
setShort(short s)
|
void |
setVoid()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aHeap
private stardiv.memory.LocalAtomHeap aHeap
iPackedIndex
private int iPackedIndex
AtomUnion
public AtomUnion()
AtomUnion
public AtomUnion(boolean b)
AtomUnion
public AtomUnion(byte b)
AtomUnion
public AtomUnion(char c)
AtomUnion
public AtomUnion(double d)
AtomUnion
public AtomUnion(float f)
AtomUnion
public AtomUnion(int i)
AtomUnion
public AtomUnion(java.lang.Object o)
AtomUnion
public AtomUnion(long l)
AtomUnion
public AtomUnion(short s)
AtomUnion
public AtomUnion(stardiv.memory.LocalAtomHeap lah)
calculateIndex
public static int calculateIndex(int i)
calculatePackedIndex
public static int calculatePackedIndex(int i1,
int i2)
finalize
protected void finalize()
free
private final void free()
getBoolean
public final boolean getBoolean()
- Specified by:
getBoolean in interface stardiv.memory.UnionAccess
getByte
public final byte getByte()
- Specified by:
getByte in interface stardiv.memory.UnionAccess
getChar
public final char getChar()
- Specified by:
getChar in interface stardiv.memory.UnionAccess
getDouble
public final double getDouble()
- Specified by:
getDouble in interface stardiv.memory.UnionAccess
getFloat
public final float getFloat()
- Specified by:
getFloat in interface stardiv.memory.UnionAccess
getHeap
public final stardiv.memory.LocalAtomHeap getHeap()
getInt
public final int getInt()
- Specified by:
getInt in interface stardiv.memory.UnionAccess
getLong
public final long getLong()
- Specified by:
getLong in interface stardiv.memory.UnionAccess
getObject
public final java.lang.Object getObject()
- Specified by:
getObject in interface stardiv.memory.UnionAccess
getShort
public final short getShort()
- Specified by:
getShort in interface stardiv.memory.UnionAccess
getType
public final int getType()
- Specified by:
getType in interface stardiv.memory.UnionAccess
getType
public static int getType(int i)
setBoolean
public final void setBoolean(boolean b)
- Specified by:
setBoolean in interface stardiv.memory.UnionAccess
setByte
public final void setByte(byte b)
- Specified by:
setByte in interface stardiv.memory.UnionAccess
setChar
public final void setChar(char c)
- Specified by:
setChar in interface stardiv.memory.UnionAccess
setDouble
public final void setDouble(double d)
- Specified by:
setDouble in interface stardiv.memory.UnionAccess
setFloat
public final void setFloat(float f)
- Specified by:
setFloat in interface stardiv.memory.UnionAccess
setInt
public final void setInt(int i)
- Specified by:
setInt in interface stardiv.memory.UnionAccess
setLong
public final void setLong(long l)
- Specified by:
setLong in interface stardiv.memory.UnionAccess
setObject
public final void setObject(java.lang.Object o)
- Specified by:
setObject in interface stardiv.memory.UnionAccess
setShort
public final void setShort(short s)
- Specified by:
setShort in interface stardiv.memory.UnionAccess
setVoid
public final void setVoid()
- Specified by:
setVoid in interface stardiv.memory.UnionAccess