Enum Class SoVRSegyTraceHeaderBytePosition.TraceByteFormats
java.lang.Object
java.lang.Enum<SoVRSegyTraceHeaderBytePosition.TraceByteFormats>
com.openinventor.volumeviz.readers.SoVRSegyTraceHeaderBytePosition.TraceByteFormats
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<SoVRSegyTraceHeaderBytePosition.TraceByteFormats>
,Constable
- Enclosing class:
SoVRSegyTraceHeaderBytePosition
public static enum SoVRSegyTraceHeaderBytePosition.TraceByteFormats
extends Enum<SoVRSegyTraceHeaderBytePosition.TraceByteFormats>
implements IntegerValuedEnum
Field formats.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionField format is IBM float.Field format is IEEE float.Field format is integer 16 bits.Field format is integer 32 bits.Field format is integer 8 bits. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the integer value of the enum constant.valueOf
(int val) Returns the enum constant of this type with the specified integer valueReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SEGY_INTEGER8_FORMAT
Field format is integer 8 bits. -
SEGY_INTEGER16_FORMAT
Field format is integer 16 bits. -
SEGY_INTEGER32_FORMAT
Field format is integer 32 bits. -
SEGY_IBM_FLOAT_FORMAT
Field format is IBM float. -
SEGY_IEEE_FLOAT_FORMAT
Field format is IEEE float.
-
-
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
-
valueOf
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-