public enum HDF5ObjectType extends java.lang.Enum<HDF5ObjectType>
Enum Constant and Description |
---|
DATASET |
DATATYPE |
EXTERNAL_LINK |
GROUP |
NONEXISTENT |
OTHER |
SOFT_LINK |
Modifier and Type | Method and Description |
---|---|
static boolean |
exists(HDF5ObjectType objectType)
|
static boolean |
isDataSet(HDF5ObjectType objectType)
|
static boolean |
isDataType(HDF5ObjectType objectType)
|
static boolean |
isExternalLink(HDF5ObjectType objectType)
|
static boolean |
isGroup(HDF5ObjectType objectType)
|
static boolean |
isSoftLink(HDF5ObjectType objectType)
|
static boolean |
isSymbolicLink(HDF5ObjectType objectType)
|
static HDF5ObjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HDF5ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HDF5ObjectType DATASET
public static final HDF5ObjectType DATATYPE
public static final HDF5ObjectType GROUP
public static final HDF5ObjectType SOFT_LINK
public static final HDF5ObjectType EXTERNAL_LINK
public static final HDF5ObjectType OTHER
public static final HDF5ObjectType NONEXISTENT
public static HDF5ObjectType[] values()
for (HDF5ObjectType c : HDF5ObjectType.values()) System.out.println(c);
public static HDF5ObjectType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean exists(HDF5ObjectType objectType)
objectType
- The object type to check.public static boolean isGroup(HDF5ObjectType objectType)
objectType
- The object type to check.public static boolean isDataSet(HDF5ObjectType objectType)
objectType
- The object type to check.public static boolean isDataType(HDF5ObjectType objectType)
objectType
- The object type to check.public static boolean isSoftLink(HDF5ObjectType objectType)
objectType
- The object type to check.public static boolean isExternalLink(HDF5ObjectType objectType)
objectType
- The object type to check (can be null
).public static boolean isSymbolicLink(HDF5ObjectType objectType)
true
, if the objectTypeOrNull is equal to either
SOFT_LINK
or EXTERNAL_LINK
. and false
otherwise.objectType
- The object type to check.