hla.rti1516.jlc.omt
Class OmtHLAvariableArray

java.lang.Object
  extended by hla.rti1516.jlc.omt.AbstractDataElement
      extended by hla.rti1516.jlc.omt.OmtHLAvariableArray
All Implemented Interfaces:
DataElement, HLAvariableArray

public class OmtHLAvariableArray
extends AbstractDataElement
implements HLAvariableArray


Constructor Summary
OmtHLAvariableArray()
           
OmtHLAvariableArray(DataElement[] momElements)
           
OmtHLAvariableArray(DataElementFactory elementFactory)
           
 
Method Summary
 void addElement(DataElement dataElement)
          Adds an element to this variable array.
 void decode(ByteWrapper byteWrapper)
          Decodes this element from the ByteWrapper.
 void encode(ByteWrapper byteWrapper)
          Encodes this element into the specified ByteWrapper.
 boolean equals(java.lang.Object obj)
          
 DataElement get(int index)
          Returns element at the specified index.
 int getEncodedLength()
          Returns the size in bytes of this element's encoding.
 int getOctetBoundary()
          Returns the octet boundary of this element.
 int hashCode()
          
 java.util.Iterator iterator()
          Returns an iterator for the elements in this variable array.
 int size()
          Returns the number of elements in this variable array.
 
Methods inherited from class hla.rti1516.jlc.omt.AbstractDataElement
toByteArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hla.rti1516.jlc.DataElement
toByteArray
 

Constructor Detail

OmtHLAvariableArray

public OmtHLAvariableArray()

OmtHLAvariableArray

public OmtHLAvariableArray(DataElementFactory elementFactory)

OmtHLAvariableArray

public OmtHLAvariableArray(DataElement[] momElements)
Method Detail

addElement

public void addElement(DataElement dataElement)
Description copied from interface: HLAvariableArray
Adds an element to this variable array.

Specified by:
addElement in interface HLAvariableArray

size

public int size()
Description copied from interface: HLAvariableArray
Returns the number of elements in this variable array.

Specified by:
size in interface HLAvariableArray
Returns:

get

public DataElement get(int index)
Description copied from interface: HLAvariableArray
Returns element at the specified index.

Specified by:
get in interface HLAvariableArray
Returns:

iterator

public java.util.Iterator iterator()
Description copied from interface: HLAvariableArray
Returns an iterator for the elements in this variable array.

Specified by:
iterator in interface HLAvariableArray
Returns:

encode

public void encode(ByteWrapper byteWrapper)
Description copied from interface: DataElement
Encodes this element into the specified ByteWrapper.

Specified by:
encode in interface DataElement
Specified by:
encode in interface HLAvariableArray

decode

public void decode(ByteWrapper byteWrapper)
Description copied from interface: DataElement
Decodes this element from the ByteWrapper.

Specified by:
decode in interface DataElement
Specified by:
decode in interface HLAvariableArray

getEncodedLength

public int getEncodedLength()
Description copied from interface: DataElement
Returns the size in bytes of this element's encoding.

Specified by:
getEncodedLength in interface DataElement
Specified by:
getEncodedLength in interface HLAvariableArray
Returns:
size

getOctetBoundary

public int getOctetBoundary()
Description copied from interface: DataElement
Returns the octet boundary of this element.

Specified by:
getOctetBoundary in interface DataElement
Specified by:
getOctetBoundary in interface HLAvariableArray
Returns:

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object