Package jnr.ffi

Class StructLayout.Offset

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    StructLayout

    protected static final class StructLayout.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()  
      • Methods inherited from class java.lang.Number

        byteValue, shortValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Offset

        public Offset​(int offset)
    • Method Detail

      • intValue

        public int intValue()
        Specified by:
        intValue in class java.lang.Number
      • longValue

        public long longValue()
        Specified by:
        longValue in class java.lang.Number
      • floatValue

        public float floatValue()
        Specified by:
        floatValue in class java.lang.Number
      • doubleValue

        public double doubleValue()
        Specified by:
        doubleValue in class java.lang.Number