Package edu.nps.moves.dis7.enumerations
Class LinearObjectAppearanceWire
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.LinearObjectAppearanceWire
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 488 marshal size 32
LinearObjectAppearanceWire
UID 488 marshal size 32
LinearObjectAppearanceWire
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription8-bit enumeration indicating the color, UseColor
values for this field4-bit unsigned integer indicating 16 levels of contrast (low to high) distinguishing variation of object from surrounding surfaceDescribes whether the wire is buried or not -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLinearObjectAppearanceWire(LinearObjectAppearanceWire.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(LinearObjectAppearanceWire.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
-
Field Details
-
COLOR
8-bit enumeration indicating the color, UseColor
values for this field -
CONTRAST
4-bit unsigned integer indicating 16 levels of contrast (low to high) distinguishing variation of object from surrounding surface -
ISBURIED
Describes whether the wire is buried or not
-
-
Constructor Details
-
LinearObjectAppearanceWire
public LinearObjectAppearanceWire()Default constructor -
LinearObjectAppearanceWire
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
Provide string representation
-