Module hla.rti1516e

Interface HLAopaqueData

All Superinterfaces:
DataElement, Iterable<Byte>

public interface HLAopaqueData extends DataElement, Iterable<Byte>
Interface for the HLA data type HLAopaqueData.
  • Method Details

    • size

      int size()
      Returns the number of bytes in this array.
      Returns:
      the number of bytes in this array.
    • get

      byte get(int index)
      Returns the byte at the specified position in this array.
      Parameters:
      index - index of byte to return
      Returns:
      byte at the specified index
    • iterator

      Iterator<Byte> iterator()
      Returns an iterator over the bytes in this array in a proper sequence.
      Specified by:
      iterator in interface Iterable<Byte>
      Returns:
      an iterator over the bytes in this array in a proper sequence
    • getValue

      byte[] getValue()
      Returns the byte[] value of this element.
      Returns:
      byte[] value
    • setValue

      void setValue(byte[] value)
      Sets the byte[] value of this element.
      Parameters:
      value - new value