public static enum SegyFileHeader.LengthUnit extends Enum<SegyFileHeader.LengthUnit>
Modifier and Type | Method and Description |
---|---|
static SegyFileHeader.LengthUnit |
get(int tag)
Return enumeration value based on the disk file tag
representing the entry.
|
String |
getDescription()
Return a textual description of this enumeration entry.
|
String |
getUnitSymbol() |
String |
toString() |
static SegyFileHeader.LengthUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegyFileHeader.LengthUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegyFileHeader.LengthUnit UNKNOWN
public static final SegyFileHeader.LengthUnit METER
public static final SegyFileHeader.LengthUnit FEET
public static SegyFileHeader.LengthUnit[] values()
for (SegyFileHeader.LengthUnit c : SegyFileHeader.LengthUnit.values()) System.out.println(c);
public static SegyFileHeader.LengthUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDescription()
public String getUnitSymbol()
public String toString()
toString
in class Enum<SegyFileHeader.LengthUnit>
public static SegyFileHeader.LengthUnit get(int tag)
tag
- Tag representing the entry.Copyright © 2020 Petroware AS - https://petroware.no