Package jnr.ffi

Class Struct.Address

    • Constructor Detail

      • Address

        public Address()
        Creates a new Address field.
    • Method Detail

      • get

        public final Address get()
        Reads an Address value from the struct.
        Returns:
        a Address.
      • set

        public final void set​(Address value)
        Puts a Address value into the native memory.
        Parameters:
        value - the value to write.
      • set

        public void set​(java.lang.Number value)
        Description copied from class: Struct.NumberField
        Sets the field to a new value.
        Specified by:
        set in class Struct.NumberField
        Parameters:
        value - The new value.
      • intValue

        public final int intValue()
        Returns an integer representation of this address.
        Specified by:
        intValue in class Struct.NumberField
        Returns:
        an integer value for this address.
      • longValue

        public final long longValue()
        Returns an long representation of this address.
        Overrides:
        longValue in class Struct.NumberField
        Returns:
        an long value for this address.
      • toString

        public final java.lang.String toString()
        Returns a string representation of this Address.
        Overrides:
        toString in class Struct.NumberField
        Returns:
        a string representation of this Address.