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