public static enum SegyTraceHeader.SourceUnit extends Enum<SegyTraceHeader.SourceUnit>
Enum Constant and Description |
---|
AMPERES |
METERS |
METERS_PER_SECOND |
METERS_PER_SECOND2 |
MILLIVOLTS |
NEWTON |
OTHER |
PASCAL |
UNKNOWN |
VOLTS |
WATT |
Modifier and Type | Method and Description |
---|---|
static SegyTraceHeader.SourceUnit |
get(int tag) |
String |
getDescription() |
String |
toString() |
static SegyTraceHeader.SourceUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegyTraceHeader.SourceUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegyTraceHeader.SourceUnit OTHER
public static final SegyTraceHeader.SourceUnit UNKNOWN
public static final SegyTraceHeader.SourceUnit PASCAL
public static final SegyTraceHeader.SourceUnit VOLTS
public static final SegyTraceHeader.SourceUnit MILLIVOLTS
public static final SegyTraceHeader.SourceUnit AMPERES
public static final SegyTraceHeader.SourceUnit METERS
public static final SegyTraceHeader.SourceUnit METERS_PER_SECOND
public static final SegyTraceHeader.SourceUnit METERS_PER_SECOND2
public static final SegyTraceHeader.SourceUnit NEWTON
public static final SegyTraceHeader.SourceUnit WATT
public static SegyTraceHeader.SourceUnit[] values()
for (SegyTraceHeader.SourceUnit c : SegyTraceHeader.SourceUnit.values()) System.out.println(c);
public static SegyTraceHeader.SourceUnit 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 toString()
toString
in class Enum<SegyTraceHeader.SourceUnit>
public static SegyTraceHeader.SourceUnit get(int tag)
Copyright © 2020 Petroware AS - https://petroware.no