|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.kenai.jaffl.struct.Struct.NumberField
com.kenai.jaffl.struct.Struct.Signed32
public class Struct.Signed32
A 32 bit signed integer field.
Constructor Summary | |
---|---|
Struct.Signed32()
Creates a new 32 bit integer field. |
|
Struct.Signed32(Struct.Offset offset)
Creates a new 32 bit signed integer field at a specific offset |
Method Summary | |
---|---|
int |
get()
Gets the value for this field. |
int |
intValue()
Returns a java int representation of this field. |
void |
set(int value)
Sets the value for this field. |
void |
set(Number value)
Sets the field to a new value. |
Methods inherited from class com.kenai.jaffl.struct.Struct.NumberField |
---|
doubleValue, floatValue, getMemoryIO, longValue, offset, struct, toString |
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Struct.Signed32()
public Struct.Signed32(Struct.Offset offset)
offset
- The offset within the memory area for this field.Method Detail |
---|
public final int get()
public final void set(int value)
value
- the 32 bit value to set.public void set(Number value)
Struct.NumberField
set
in class Struct.NumberField
value
- The new value.public final int intValue()
intValue
in class Number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |