Class DBDATETIM4.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<DBDATETIM4>, NativeResource, Pointer
Enclosing class:
DBDATETIM4

public static class DBDATETIM4.Buffer extends StructBuffer<DBDATETIM4,DBDATETIM4.Buffer> implements NativeResource
An array of DBDATETIM4 structs.
  • Constructor Details Link icon

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new DBDATETIM4.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by DBDATETIM4.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • numdays Link icon

      public short numdays()
      Returns:
      the value of the numdays field.
    • nummins Link icon

      public short nummins()
      Returns:
      the value of the nummins field.
    • numdays Link icon

      public DBDATETIM4.Buffer numdays(short value)
      Sets the specified value to the numdays field.
    • nummins Link icon

      public DBDATETIM4.Buffer nummins(short value)
      Sets the specified value to the nummins field.