All Implemented Interfaces:
LongElements, LongN, Vector, MemorySizeable, NativeParsable
Direct Known Subclasses:
BBLong1, BBLong2, BBLong3, BBLong4

public abstract class BBLongN extends BBVector implements LongN
  • Field Details

    • buf

      protected LongBuffer buf
    • memberCount

      protected final int memberCount
  • Constructor Details

    • BBLongN

      public BBLongN(int count, boolean allocateBuffer)
  • Method Details

    • useBuffer

      public void useBuffer(@NotNull @NotNull Structure mostParentStructure, int offset)
      Description copied from class: Structure
      Set this Structure to be a child of mostParentStructure.
      Overrides:
      useBuffer in class Structure
      Parameters:
      mostParentStructure - most parental structure
      offset - start of this structure
    • get

      public long get(int index)
      Description copied from interface: LongN
      Get component at position index.
      Specified by:
      get in interface LongN
      Parameters:
      index - index of the vector component to get
      Returns:
      component value
    • put

      public void put(int index, long value)
      Description copied from interface: LongN
      Set component at position index to value.
      Specified by:
      put in interface LongN
      Parameters:
      index - index of the vector component to set
      value - value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object