Package edu.sc.seis.TauP
Enum ModelAxisType
- java.lang.Object
-
- java.lang.Enum<ModelAxisType>
-
- edu.sc.seis.TauP.ModelAxisType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ModelAxisType>
public enum ModelAxisType extends java.lang.Enum<ModelAxisType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description density
depth
radius
slowness
slowness_p
slowness_s
velocity
velocity_p
velocity_s
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelAxisType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ModelAxisType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
depth
public static final ModelAxisType depth
-
radius
public static final ModelAxisType radius
-
velocity
public static final ModelAxisType velocity
-
velocity_p
public static final ModelAxisType velocity_p
-
velocity_s
public static final ModelAxisType velocity_s
-
slowness
public static final ModelAxisType slowness
-
slowness_p
public static final ModelAxisType slowness_p
-
slowness_s
public static final ModelAxisType slowness_s
-
density
public static final ModelAxisType density
-
-
Method Detail
-
values
public static ModelAxisType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ModelAxisType c : ModelAxisType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelAxisType valueOf(java.lang.String name)
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
-
-