generated.docs.javadoc.org.eclipse.dawnsci.hdf5.nexus.NexusFileHDF5.NodeType.html Maven / Gradle / Ivy
NexusFileHDF5.NodeType (h5jan API)
org.eclipse.dawnsci.hdf5.nexus
Enum NexusFileHDF5.NodeType
- java.lang.Object
-
- java.lang.Enum<NexusFileHDF5.NodeType>
-
- org.eclipse.dawnsci.hdf5.nexus.NexusFileHDF5.NodeType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<NexusFileHDF5.NodeType>
- Enclosing class:
- NexusFileHDF5
public static enum NexusFileHDF5.NodeType
extends java.lang.Enum<NexusFileHDF5.NodeType>
-
-
Field Summary
Fields
Modifier and Type
Field and Description
int
value
-
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type
Method and Description
static NexusFileHDF5.NodeType
valueOf(int type)
static NexusFileHDF5.NodeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
static NexusFileHDF5.NodeType[]
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
-
-
Enum Constant Detail
-
GROUP
public static final NexusFileHDF5.NodeType GROUP
-
DATASET
public static final NexusFileHDF5.NodeType DATASET
-
Method Detail
-
values
public static NexusFileHDF5.NodeType[] 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 (NexusFileHDF5.NodeType c : NexusFileHDF5.NodeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NexusFileHDF5.NodeType 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 name
java.lang.NullPointerException
- if the argument is null
-
valueOf
public static NexusFileHDF5.NodeType valueOf(int type)