|
||||||||||
| 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.EnumField<E>
jnr.ffi.StructLayout.EnumLong<E>
public class StructLayout.EnumLong<E extends java.lang.Enum<E>>
| Field Summary |
|---|
| Fields inherited from class jnr.ffi.StructLayout.EnumField |
|---|
enumClass, enumMapper |
| Fields inherited from class jnr.ffi.StructLayout.NumberField |
|---|
type |
| Constructor Summary | |
|---|---|
StructLayout.EnumLong(java.lang.Class<E> enumClass)
|
|
| Method Summary | |
|---|---|
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,
E value)
|
void |
set(Pointer ptr,
java.lang.Number value)
Sets the field to a new value. |
| Methods inherited from class jnr.ffi.StructLayout.EnumField |
|---|
get, toString |
| Methods inherited from class jnr.ffi.StructLayout.NumberField |
|---|
byteValue, doubleValue, floatValue, shortValue |
| 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 |
| Constructor Detail |
|---|
public StructLayout.EnumLong(java.lang.Class<E> enumClass)
| Method Detail |
|---|
public final void set(Pointer ptr,
E value)
public void set(Pointer ptr,
java.lang.Number value)
StructLayout.NumberField
set in class StructLayout.NumberFieldvalue - The new value.public final int intValue(Pointer ptr)
StructLayout.NumberFieldint representation of this Number.
intValue in class StructLayout.NumberFieldint value for this Number.public final 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 | |||||||||