Class RadioCapabilities
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.RadioCapabilities
- All Implemented Interfaces:
EntityCapabilities
,Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 460, marshal size 32,
RadioCapabilities
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic RadioCapabilities.Bits
(bit position 0, length=5) This entry is reserved for backward compatibility and may not be reused -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRadioCapabilities
(RadioCapabilities.Bits wh, int value) Default constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionset
(int start, int length, int value) Some bitfields are defined without specific bits enumeratedset
(RadioCapabilities.Bits wh, int value) Accessor method to set valuetoString()
Provide string representationMethods inherited from class edu.nps.moves.dis7.pdus.DisBitSet
calculateMask, calculateMask, getMarshalledSize, marshal, marshal, marshallCommon, setbits, unmarshal, unmarshal
Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, valueOf, valueOf, valueOf, valueOf, xor
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.nps.moves.dis7.pdus.Marshaller
getMarshalledSize, marshal, marshal, unmarshal, unmarshal
-
Field Details
-
RESERVED
(bit position 0, length=5) This entry is reserved for backward compatibility and may not be reused
-
-
Constructor Details
-
RadioCapabilities
public RadioCapabilities()Default constructor -
RadioCapabilities
Default constructor with parameters- Parameters:
wh
- Bits custom data structurevalue
- bits of interest
-
-
Method Details
-
set
Accessor method to set value- Parameters:
wh
- Bits custom data structurevalue
- bits of interest- Returns:
- this object
-
set
Some bitfields are defined without specific bits enumerated- Parameters:
start
- initial position in bit arraylength
- number of bitsvalue
- bits of interest- Returns:
- this object
-
toString
-