|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.StructLayout.Field
jnr.ffi.StructLayout.NumberField
jnr.ffi.StructLayout.IntegerAlias
public abstract class StructLayout.IntegerAlias
| Field Summary |
|---|
| Fields inherited from class jnr.ffi.StructLayout.NumberField |
|---|
type |
| Method Summary | |
|---|---|
long |
get(Pointer ptr)
Gets the value for this field. |
int |
intValue(Pointer ptr)
Returns a int representation of this Number. |
long |
longValue(Pointer ptr)
Returns a long representation of this Number. |
void |
set(Pointer ptr,
long value)
|
void |
set(Pointer ptr,
java.lang.Number value)
Sets the field to a new value. |
| Methods inherited from class jnr.ffi.StructLayout.NumberField |
|---|
byteValue, doubleValue, floatValue, shortValue, toString |
| Methods inherited from class jnr.ffi.StructLayout.Field |
|---|
enclosing, offset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void set(Pointer ptr,
java.lang.Number value)
StructLayout.NumberField
set in class StructLayout.NumberFieldvalue - The new value.
public void set(Pointer ptr,
long value)
public final long get(Pointer ptr)
public int intValue(Pointer ptr)
StructLayout.NumberFieldint representation of this Number.
intValue in class StructLayout.NumberFieldint value for this Number.public long longValue(Pointer ptr)
StructLayout.NumberFieldlong representation of this Number.
longValue in class StructLayout.NumberFieldlong value for this Number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||