Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mil.navy.nps.disEnumerations.FuseField
This is effectively a C-style enumeration. Java doesn't do enumerations like C, so you have to wrap a class around it. It's a bit more typing, but pretty simple-minded. Note that the variables are declared public. The default for access is package-wide, but these variables might need to be accessed from outside the package. Since all the variables are final, nobody can change anything anyway, so this is no biggie.
To use these enumerations in your Java code, import the package first:
import mil.navy.nps.disEnumerations.*;
You access this via something like FuseField.MECHANICALTAIL;
the class name, a period, and the class variable name.
Field Summary | |
static int | ACOUSTIC
(7000) |
static int | ALTITUDEAIRBURST
(5200) |
static int | ALTITUDE
(5000) |
static int | ALTITUDERADIOALTIMETER
(5100) |
static int | BASEDETONATION
(0300) |
static int | BODY
(0050) |
static int | COMMANDELECTRONICREMOTELYSET
(4100) |
static int | COMMAND
(4000) |
static int | COMPRESSIONIGNITION
(9300) |
static int | COMPRESSIONIGNITIONSTRIKERLESSNOSEIMPACT
(9310) |
static int | CONTACTBALLISTICCAPANDBASE
(1940) |
static int | CONTACTBASEDETONATING
(1930) |
static int | CONTACTBASE
(1950) |
static int | CONTACTCHEMICAL
(1800) |
static int | CONTACTCRUSH
(1500) |
static int | CONTACTDELAYED
(1200) |
static int | CONTACTELECTRONIC
(1300) |
static int | CONTACTFITTEDINSTANDOFFPROBE
(1970) |
static int | CONTACT
(1000) |
static int | CONTACTGRAZE
(1400) |
static int | CONTACTHYDROSTATIC
(1600) |
static int | CONTACTINSTANT
(1100) |
static int | CONTACTMECHANICAL
(1700) |
static int | CONTACTNONALIGNED
(1980) |
static int | CONTACTNOSE
(1960) |
static int | CONTACTPIEZOELECTRIC
(1900) |
static int | CONTACTPOINTINITIATINGBASEDETONATING
(1920) |
static int | CONTACTPOINTINITIATING
(1910) |
static int | DEEPINTRUSION
(0060) |
static int | DEPTH
(6000) |
static int | DUMMY
(8110) |
static int | ELECTROMECHANICAL
(9110) |
static int | ELECTROMECHANICALNOSE
(9120) |
static int | ELECTRONIC
(9500) |
static int | ELECTRONICINTERNALLYMOUNTED
(9510) |
static int | ELECTRONICPROGRAMMED
(9530) |
static int | ELECTRONICRANGESETTING
(9520) |
static int | ELECTROOPTICAL
(9100) |
static int | INERT
(8100) |
static int | INTELLIGENTINFLUENCE
(0010) |
static int | MECHANICAL
(9600) |
static int | MECHANICALNOSE
(9610) |
static int | MECHANICALTAIL
(9620) |
static int | MULTIFUNCTION
(0100) |
static int | OTHER
(0000) |
static int | PERCUSSION
(9400) |
static int | PERCUSSIONINSTANTANEOUS
(9410) |
static int | PLUGREPRESENTING
(8130) |
static int | POINTDETONATION
(0200) |
static int | PRACTICE
(8120) |
static int | PRESSUREDELAY
(8010) |
static int | PRESSURE
(8000) |
static int | PROXIMITYACTIVELASER
(3100) |
static int | PROXIMITYACTIVERADAR
(3300) |
static int | PROXIMITY
(3000) |
static int | PROXIMITYINFRARED
(3700) |
static int | PROXIMITYMAGNETIC
(3200) |
static int | PROXIMITYPROGRAMMABLE
(3500) |
static int | PROXIMITYPROGRAMMABLEPREFRAGMENTED
(3600) |
static int | PROXIMITYRADIOFREQUENCY
(3400) |
static int | PYROTECHNICDELAY
(9010) |
static int | PYROTECHNIC
(9000) |
static int | SELFDESTRUCT
(0030) |
static int | SENSOR
(0020) |
static int | STRIKERLESSCOMPRESSIONIGNITION
(9220) |
static int | STRIKERLESS
(9200) |
static int | STRIKERLESSNOSEIMPACT
(9210) |
static int | TIMEDBASEDELAY
(2500) |
static int | TIMEDBURNOUT
(2200) |
static int | TIMEDELECTRONIC
(2400) |
static int | TIMED
(2000) |
static int | TIMEDIMPACT
(2920) |
static int | TIMEDLONGDELAYSIDE
(2900) |
static int | TIMEDNOSEMOUNTEDVARIABLEDELAY
(2800) |
static int | TIMEDPROGRAMMABLE
(2100) |
static int | TIMEDPYROTECHNIC
(2300) |
static int | TIMEDREINFORCEDNOSEIMPACTDELAY
(2600) |
static int | TIMEDSELECTABLEDELAY
(2910) |
static int | TIMEDSEQUENCE
(2930) |
static int | TIMEDSHORTDELAYIMPACT
(2700) |
static int | TRAINING
(8150) |
static int | ULTRAQUICK
(0040) |
Method Summary | |
java.lang.String | toString(int idNumber)
|
Methods inherited from class java.lang.Object | |
Field Detail |
public static final int OTHER
public static final int INTELLIGENTINFLUENCE
public static final int SENSOR
public static final int SELFDESTRUCT
public static final int ULTRAQUICK
public static final int BODY
public static final int DEEPINTRUSION
public static final int MULTIFUNCTION
public static final int POINTDETONATION
public static final int BASEDETONATION
public static final int CONTACT
public static final int CONTACTINSTANT
public static final int CONTACTDELAYED
public static final int CONTACTELECTRONIC
public static final int CONTACTGRAZE
public static final int CONTACTCRUSH
public static final int CONTACTHYDROSTATIC
public static final int CONTACTMECHANICAL
public static final int CONTACTCHEMICAL
public static final int CONTACTPIEZOELECTRIC
public static final int CONTACTPOINTINITIATING
public static final int CONTACTPOINTINITIATINGBASEDETONATING
public static final int CONTACTBASEDETONATING
public static final int CONTACTBALLISTICCAPANDBASE
public static final int CONTACTBASE
public static final int CONTACTNOSE
public static final int CONTACTFITTEDINSTANDOFFPROBE
public static final int CONTACTNONALIGNED
public static final int TIMED
public static final int TIMEDPROGRAMMABLE
public static final int TIMEDBURNOUT
public static final int TIMEDPYROTECHNIC
public static final int TIMEDELECTRONIC
public static final int TIMEDBASEDELAY
public static final int TIMEDREINFORCEDNOSEIMPACTDELAY
public static final int TIMEDSHORTDELAYIMPACT
public static final int TIMEDNOSEMOUNTEDVARIABLEDELAY
public static final int TIMEDLONGDELAYSIDE
public static final int TIMEDSELECTABLEDELAY
public static final int TIMEDIMPACT
public static final int TIMEDSEQUENCE
public static final int PROXIMITY
public static final int PROXIMITYACTIVELASER
public static final int PROXIMITYMAGNETIC
public static final int PROXIMITYACTIVERADAR
public static final int PROXIMITYRADIOFREQUENCY
public static final int PROXIMITYPROGRAMMABLE
public static final int PROXIMITYPROGRAMMABLEPREFRAGMENTED
public static final int PROXIMITYINFRARED
public static final int COMMAND
public static final int COMMANDELECTRONICREMOTELYSET
public static final int ALTITUDE
public static final int ALTITUDERADIOALTIMETER
public static final int ALTITUDEAIRBURST
public static final int DEPTH
public static final int ACOUSTIC
public static final int PRESSURE
public static final int PRESSUREDELAY
public static final int INERT
public static final int DUMMY
public static final int PRACTICE
public static final int PLUGREPRESENTING
public static final int TRAINING
public static final int PYROTECHNIC
public static final int PYROTECHNICDELAY
public static final int ELECTROOPTICAL
public static final int ELECTROMECHANICAL
public static final int ELECTROMECHANICALNOSE
public static final int STRIKERLESS
public static final int STRIKERLESSNOSEIMPACT
public static final int STRIKERLESSCOMPRESSIONIGNITION
public static final int COMPRESSIONIGNITION
public static final int COMPRESSIONIGNITIONSTRIKERLESSNOSEIMPACT
public static final int PERCUSSION
public static final int PERCUSSIONINSTANTANEOUS
public static final int ELECTRONIC
public static final int ELECTRONICINTERNALLYMOUNTED
public static final int ELECTRONICRANGESETTING
public static final int ELECTRONICPROGRAMMED
public static final int MECHANICAL
public static final int MECHANICALNOSE
public static final int MECHANICALTAIL
Method Detail |
public java.lang.String toString(int idNumber)
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |