All Implemented Interfaces:
IntElements, IntN, Vector, MemorySizeable, NativeParsable
Direct Known Subclasses:
BBInt1, BBInt2, BBInt3, BBInt4

public abstract class BBIntN extends BBVector implements IntN
  • Field Details

  • Constructor Details

    • BBIntN

      public BBIntN(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 int get(int index)
      Description copied from interface: IntN
      Get component at position index.
      Specified by:
      get in interface IntN
      Parameters:
      index - index of the vector component to get
      Returns:
      component value
    • put

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

      public String toString()
      Overrides:
      toString in class Object