Enum Class LifeFormHumanSpecificSniper
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificSniper>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificSniper
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormHumanSpecificSniper>
,Constable
This
enum
type is generated from XML,
UID 481,
marshal size 8;
LifeFormHumanSpecificSniper has 48 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 AW50 (.50 cal BMG)12.7mm Desert Tech HTI (.375 cal/.408 cal/.416 cal/.50 cal)12.7mm M10712.7mm M82A1A Special Applications Scoped Rifle (SASR)12.7mm NSV12.7mm OSV-9612.7mm Rangemaster 5012.7mm Snipex Alligator12.7mm Snipex Rhino Hunter12.7mm Steyr HS .5012.7mm V9412.7mm ZVI Falcon OP9914.5mm Snipex T-Rex20mm Denel NTW-205.8mm QBU-88 (Type 88)7.62mm AW SR-987.62mm AWM-F (G22)7.62mm Blaser R937.62mm FR F27.62mm G3 SG/17.62mm Galil Sniper7.62mm L129A17.62mm L96A17.62mm M14 DMR7.62mm M2010 Enhanced Sniper Rifle (ESR)7.62mm M24 Sniper Weapon System (SWS)7.62mm M40A1/A37.62mm Sako TRG-227.62mm SR-25 MK117.62mm Steyr SSG 697.62mm SVD (Dragunov)7.62mm TYPE 797.7mm TYPE 998.58mm Blaser R93 Tactical 28.6mm AWSM .338 Lapua Magnum8.6mm Sako TRG-429.5mm/10.36mm CheyTac M200 (.375 cal/.408 cal)9mm VSS Vintorez7.62mm CZ 7507.62mm Zbroyar VPR-308 (Sniper version of Z-008)7.62mm BREN 2 PPS7.62mm Colt Canada C20 DMROther7.62mm Zbroyar UAR-107.62mm Fort-3017.62mm AWM .300 Winchester7.62mm C37.62mm M110 Semi-Automatic Sniper System (SASS) -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic LifeFormHumanSpecificSniper
getEnumForValue
(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 identifierstatic LifeFormHumanSpecificSniper
Unmarshal value to DataInputStreamstatic LifeFormHumanSpecificSniper
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic LifeFormHumanSpecificSniper
Returns the enum constant of this class with the specified name.static LifeFormHumanSpecificSniper[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
_58MM_QBU_88_TYPE_88
5.8mm QBU-88 (Type 88) -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
7.62mm C3 -
_762MM_FR_F2
7.62mm FR F2 -
_762MM_AWM_F_G22
7.62mm AWM-F (G22) -
_762MM_G3_SG_1
7.62mm G3 SG/1 -
_762MM_GALIL_SNIPER
7.62mm Galil Sniper -
_762MM_L96A1
7.62mm L96A1 -
_762MM_M14_DMR
7.62mm M14 DMR -
_762MM_M24_SNIPER_WEAPON_SYSTEM_SWS
7.62mm M24 Sniper Weapon System (SWS) -
_762MM_M40A1_A3
7.62mm M40A1/A3 -
_762MM_STEYR_SSG_69
7.62mm Steyr SSG 69 -
_762MM_SVD_DRAGUNOV
7.62mm SVD (Dragunov) -
_762MM_TYPE_79
7.62mm TYPE 79 -
_762MM_SR_25_MK11
7.62mm SR-25 MK11 -
_762MM_AW_SR_98
7.62mm AW SR-98 -
_762MM_BLASER_R93
7.62mm Blaser R93 -
_762MM_M2010_ENHANCED_SNIPER_RIFLE_ESR
7.62mm M2010 Enhanced Sniper Rifle (ESR) -
TIME_SPACE_POSITION_INFORMATION
7.62mm M110 Semi-Automatic Sniper System (SASS) -
_762MM_L129A1
7.62mm L129A1 -
_762MM_SAKO_TRG_22
7.62mm Sako TRG-22 -
LIVE_ENTITY_FIRE
7.62mm Colt Canada C20 DMR -
LIVE_ENTITY_DETONATION
7.62mm BREN 2 PPS -
CREATE_ENTITY_RELIABLE
7.62mm Zbroyar VPR-308 (Sniper version of Z-008) -
REMOVE_ENTITY_RELIABLE
7.62mm Zbroyar UAR-10 -
START_RESUME_RELIABLE
7.62mm Fort-301 -
STOP_FREEZE_RELIABLE
7.62mm AWM .300 Winchester -
ACKNOWLEDGE_RELIABLE
7.62mm CZ 750 -
_77MM_TYPE_99
7.7mm TYPE 99 -
_858MM_BLASER_R93_TACTICAL_2
8.58mm Blaser R93 Tactical 2 -
_86MM_SAKO_TRG_42
8.6mm Sako TRG-42 -
_86MM_AWSM_338_LAPUA_MAGNUM
8.6mm AWSM .338 Lapua Magnum -
_9MM_VSS_VINTOREZ
9mm VSS Vintorez -
_95MM_1036MM_CHEYTAC_M200_375_CAL_408_CAL
9.5mm/10.36mm CheyTac M200 (.375 cal/.408 cal) -
_127MM_STEYR_HS_50
12.7mm Steyr HS .50 -
_127MM_M82A1A_SPECIAL_APPLICATIONS_SCOPED_RIFLE_SASR
public static final LifeFormHumanSpecificSniper _127MM_M82A1A_SPECIAL_APPLICATIONS_SCOPED_RIFLE_SASR12.7mm M82A1A Special Applications Scoped Rifle (SASR) -
_127MM_NSV
12.7mm NSV -
_127MM_OSV_96
12.7mm OSV-96 -
_127MM_RANGEMASTER_50
12.7mm Rangemaster 50 -
_127MM_V94
12.7mm V94 -
_127MM_M107
12.7mm M107 -
_127MM_ZVI_FALCON_OP99
12.7mm ZVI Falcon OP99 -
_127MM_SNIPEX_RHINO_HUNTER
12.7mm Snipex Rhino Hunter -
_127MM_SNIPEX_ALLIGATOR
12.7mm Snipex Alligator -
_127MM_DESERT_TECH_HTI_375_CAL_408_CAL_416_CAL_50_CAL
public static final LifeFormHumanSpecificSniper _127MM_DESERT_TECH_HTI_375_CAL_408_CAL_416_CAL_50_CAL12.7mm Desert Tech HTI (.375 cal/.408 cal/.416 cal/.50 cal) -
_127MM_AW50_50_CAL_BMG
12.7mm AW50 (.50 cal BMG) -
_145MM_SNIPEX_T_REX
14.5mm Snipex T-Rex -
_20MM_DENEL_NTW_20
20mm Denel NTW-20
-
-
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<LifeFormHumanSpecificSniper>
- Returns:
- class name, value and name
-