|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.Struct.Member
jnr.ffi.Struct.NumberField
jnr.ffi.Struct.Signed32
public class Struct.Signed32
A 32 bit signed integer field.
| Field Summary |
|---|
| Fields inherited from class jnr.ffi.Struct.NumberField |
|---|
type |
| 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(java.lang.Number value)
Sets the field to a new value. |
| Methods inherited from class jnr.ffi.Struct.NumberField |
|---|
byteValue, doubleValue, floatValue, getMemory, longValue, offset, shortValue, struct, toString |
| 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(java.lang.Number value)
Struct.NumberField
set in class Struct.NumberFieldvalue - The new value.public final int intValue()
intValue in class Struct.NumberField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||