Enum Class LifeFormHumanSpecificHandGuns
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificHandGuns>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificHandGuns
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormHumanSpecificHandGuns>
,Constable
This
enum
type is generated from XML,
UID 513,
marshal size 8;
LifeFormHumanSpecificHandGuns has 26 enumerations total.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription12.7mm Norinco NP762 (PX-3).45 Cal M19115.45mm PSM5.8mm Norinco QSZ-929mm Beretta 92S/92FS (M9)9mm CZ 759mm CZ 829mm CZ P-10 C9mm Fort-129mm Fort-14TP9mm Fort-179mm Fort-219mm Glock 179mm Handamp;K USP9mm Makarov PM9mm Norinco QSZ-92 (CF-98)9mm SIG Pro9mm SIG Sauer M179mm Smith and Wesson 5900-series9mm Smith and Wesson SD (Sigma)9mm Smith and Wesson SW19119mm Stechkin APS10mm Glock 209.07mm Ruger GP 100Other9mm MK3 SLP -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationgetEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameboolean
getTRACE()
Whether tracing is on or off for this objectint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffervoid
setTRACE
(boolean value) Set tracing on/off for this objecttoString()
Provide simple identifierUnmarshal value to DataInputStreamunmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferReturns the enum constant of this class with the specified name.static LifeFormHumanSpecificHandGuns[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
_545MM_PSM
5.45mm PSM -
_58MM_NORINCO_QSZ_92
5.8mm Norinco QSZ-92 -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
9mm MK3 SLP -
_9MM_BERETTA_92S_92FS_M9
9mm Beretta 92S/92FS (M9) -
_9MM_HAMP_K_USP
9mm Handamp;K USP -
_9MM_STECHKIN_APS
9mm Stechkin APS -
_9MM_MAKAROV_PM
9mm Makarov PM -
_9MM_SMITH_AND_WESSON_SD_SIGMA
9mm Smith and Wesson SD (Sigma) -
_9MM_GLOCK_17
9mm Glock 17 -
_9MM_SIG_SAUER_M17
9mm SIG Sauer M17 -
_9MM_SIG_PRO
9mm SIG Pro -
_9MM_SMITH_AND_WESSON_SW1911
9mm Smith and Wesson SW1911 -
_9MM_SMITH_AND_WESSON_5900_SERIES
9mm Smith and Wesson 5900-series -
_45_CAL_M1911
.45 Cal M1911 -
_9MM_CZ_75
9mm CZ 75 -
_9MM_CZ_82
9mm CZ 82 -
_9MM_NORINCO_QSZ_92_CF_98
9mm Norinco QSZ-92 (CF-98) -
_9MM_CZ_P_10_C
9mm CZ P-10 C -
LIVE_ENTITY_DETONATION
9.07mm Ruger GP 100 -
DATA_RELIABLE
10mm Glock 20 -
_9MM_FORT_12
9mm Fort-12 -
_9MM_FORT_14TP
9mm Fort-14TP -
_9MM_FORT_17
9mm Fort-17 -
_9MM_FORT_21
9mm Fort-21 -
_127MM_NORINCO_NP762_PX_3
12.7mm Norinco NP762 (PX-3)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
-
getEnumBitWidth
public static int getEnumBitWidth()bit width for this enumeration- Returns:
- number of bits wide
-
getEnumForValue
Provide enumeration for a given value- Parameters:
value
- integer value of interest- Returns:
- enumeration corresponding to numeric value
-
setTRACE
public void setTRACE(boolean value) Set tracing on/off for this object- Parameters:
value
- whether tracing is on or off
-
getTRACE
public boolean getTRACE()Whether tracing is on or off for this object- Returns:
- whether tracing is on or off
-
marshal
Marshal value to DataOutputStream- Parameters:
dos
- DataOutputStream for output- Throws:
IOException
- input-output error- See Also:
-
marshal
Marshal value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for output- Throws:
IOException
- input-output errorException
- See Also:
-
unmarshalEnum
Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
Unmarshal enumeration value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
getName
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<LifeFormHumanSpecificHandGuns>
- Returns:
- class name, value and name
-