public class StructLayout.Enum64<E extends Enum<E>> extends StructLayout.EnumField<E>
enumClass, enumMappertype| Constructor and Description |
|---|
StructLayout.Enum64(Class<E> enumClass) |
StructLayout.Enum64(Class<E> enumClass,
StructLayout.Offset offset) |
| Modifier and Type | Method and Description |
|---|---|
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,
Number value)
Sets the field to a new value.
|
get, toStringbyteValue, doubleValue, floatValue, shortValueenclosing, offsetpublic StructLayout.Enum64(Class<E> enumClass, StructLayout.Offset offset)
public void set(Pointer ptr, Number value)
StructLayout.NumberFieldset 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.Copyright © 2013. All rights reserved.