Package edu.nps.moves.dis7.enumerations
Enum LifeFormHumanSpecificSubMachineGun
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificSubMachineGun>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificSubMachineGun
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LifeFormHumanSpecificSubMachineGun>
,java.lang.constant.Constable
public enum LifeFormHumanSpecificSubMachineGun extends java.lang.Enum<LifeFormHumanSpecificSubMachineGun>
Generated from XML, SISO-REF-010-v25, 2018-08-29
UID 482 marshal size 8
Life Form-Human-Specific-Sub Machine Gun
UID 482 marshal size 8
Life Form-Human-Specific-Sub Machine Gun
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description $545MM_AKS_74U_AKSU_74
5.45mm AKS-74U (AKSU-74)$556MM_DAEWOO_K1A
5.56mm Daewoo K1A$9MM_DAEWOO_K7
9mm Daewoo K7$9MM_MAC_10
9mm MAC-10$9MM_MADSEN_MK_II
9mm Madsen MK II$9MM_MINI_UZI
9mm Mini-Uzi$9MM_MODEL_83_SKORPION_SMG
9mm Model 83 Skorpion SMG$9MM_MP5_N
9mm MP5-N$9MM_MP5A2
9mm MP5A2$9MM_STERLING_SMG
9mm Sterling SMG$9MM_TYPE_CF_05
9mm Type CF-05$9MM_UZI
9mm UziOTHER
Other -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
static int
getEnumBitWidth()
static LifeFormHumanSpecificSubMachineGun
getEnumForValue(int i)
int
getMarshalledSize()
int
getValue()
void
marshal(java.io.DataOutputStream dos)
void
marshal(java.nio.ByteBuffer buff)
java.lang.String
toString()
static LifeFormHumanSpecificSubMachineGun
unmarshalEnum(java.io.DataInputStream dis)
static LifeFormHumanSpecificSubMachineGun
unmarshalEnum(java.nio.ByteBuffer buff)
static LifeFormHumanSpecificSubMachineGun
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LifeFormHumanSpecificSubMachineGun[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
$545MM_AKS_74U_AKSU_74
5.45mm AKS-74U (AKSU-74) -
$556MM_DAEWOO_K1A
5.56mm Daewoo K1A -
$9MM_DAEWOO_K7
9mm Daewoo K7 -
$9MM_MAC_10
9mm MAC-10 -
$9MM_MADSEN_MK_II
9mm Madsen MK II -
$9MM_MINI_UZI
9mm Mini-Uzi -
$9MM_MODEL_83_SKORPION_SMG
9mm Model 83 Skorpion SMG -
$9MM_MP5A2
9mm MP5A2 -
$9MM_MP5_N
9mm MP5-N -
$9MM_STERLING_SMG
9mm Sterling SMG -
$9MM_TYPE_CF_05
9mm Type CF-05 -
$9MM_UZI
9mm Uzi
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue() -
getDescription
public java.lang.String getDescription() -
getEnumBitWidth
public static int getEnumBitWidth() -
getEnumForValue
-
marshal
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException- Throws:
java.io.IOException
-
marshal
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception- Throws:
java.lang.Exception
-
unmarshalEnum
public static LifeFormHumanSpecificSubMachineGun unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception- Throws:
java.lang.Exception
-
unmarshalEnum
public static LifeFormHumanSpecificSubMachineGun unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMarshalledSize
public int getMarshalledSize() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<LifeFormHumanSpecificSubMachineGun>
-