public static enum SegyFileHeader.DataFormat extends Enum<SegyFileHeader.DataFormat>
Enum Constant and Description |
---|
BYTE
1-byte, two's complement integer.
|
FLOAT4
4-byte IBM floating-point.
|
FLOAT4_IEEE
4-byte IEEE floating point.
|
INT2
2-byte, two's complement integer.
|
INT4
4-byte, two's complement integer.
|
INT4_GAIN
4-byte fixed point with gain.
|
UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static SegyFileHeader.DataFormat |
get(int tag)
Return enumeration value based on the disk file tag
representing the entry.
|
Class<?> |
getDataType()
Return the equivalent Java class of this data type.
|
String |
getDescription()
Return a textual description of this enumeration entry.
|
int |
getSize()
Return size in bytes of this data type.
|
String |
toString() |
static SegyFileHeader.DataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegyFileHeader.DataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegyFileHeader.DataFormat UNKNOWN
public static final SegyFileHeader.DataFormat FLOAT4
public static final SegyFileHeader.DataFormat INT4
public static final SegyFileHeader.DataFormat INT2
public static final SegyFileHeader.DataFormat INT4_GAIN
public static final SegyFileHeader.DataFormat FLOAT4_IEEE
public static final SegyFileHeader.DataFormat BYTE
public static SegyFileHeader.DataFormat[] values()
for (SegyFileHeader.DataFormat c : SegyFileHeader.DataFormat.values()) System.out.println(c);
public static SegyFileHeader.DataFormat 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 int getSize()
public Class<?> getDataType()
public String getDescription()
public static SegyFileHeader.DataFormat get(int tag)
tag
- Tag representing the entry.public String toString()
toString
in class Enum<SegyFileHeader.DataFormat>
Copyright © 2020 Petroware AS - https://petroware.no