public enum SensorTypeSource extends java.lang.Enum<SensorTypeSource>
Enum Constant and Description |
---|
ELECTROMAGNETIC
Electromagnetic
|
LASERS
Lasers
|
MINEFIELD_SENSORS
Minefield Sensors
|
OTHER_ACTIVE_SENSORS
Other Active Sensors
|
PASSIVE_SENSORS
Passive Sensors
|
UNDERWATER_ACOUSTICS
Underwater Acoustics
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static SensorTypeSource |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static SensorTypeSource |
unmarshalEnum(java.nio.ByteBuffer buff) |
static SensorTypeSource |
unmarshalEnum(java.io.DataInputStream dis) |
static SensorTypeSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SensorTypeSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorTypeSource OTHER_ACTIVE_SENSORS
public static final SensorTypeSource ELECTROMAGNETIC
public static final SensorTypeSource PASSIVE_SENSORS
public static final SensorTypeSource MINEFIELD_SENSORS
public static final SensorTypeSource UNDERWATER_ACOUSTICS
public static final SensorTypeSource LASERS
public static SensorTypeSource[] values()
for (SensorTypeSource c : SensorTypeSource.values()) System.out.println(c);
public static SensorTypeSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static SensorTypeSource getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static SensorTypeSource unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static SensorTypeSource unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()