Package jnr.ffi
Class Struct.Offset
- java.lang.Object
-
- java.lang.Number
-
- jnr.ffi.Struct.Offset
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Struct
public static final class Struct.Offset extends java.lang.Number
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Offset(int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue()
float
floatValue()
int
intValue()
long
longValue()
-
-
-
Method Detail
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
-