Package dap4.core.interfaces
Enum ArrayScheme
- java.lang.Object
-
- java.lang.Enum<ArrayScheme>
-
- dap4.core.interfaces.ArrayScheme
-
- All Implemented Interfaces:
Serializable
,Comparable<ArrayScheme>
public enum ArrayScheme extends Enum<ArrayScheme>
Track kinds of Arrays
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArrayScheme
schemeFor(DapVariable field)
static ArrayScheme
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArrayScheme[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATOMIC
public static final ArrayScheme ATOMIC
-
STRUCTARRAY
public static final ArrayScheme STRUCTARRAY
-
STRUCTURE
public static final ArrayScheme STRUCTURE
-
SEQARRAY
public static final ArrayScheme SEQARRAY
-
SEQUENCE
public static final ArrayScheme SEQUENCE
-
RECORD
public static final ArrayScheme RECORD
-
-
Method Detail
-
values
public static ArrayScheme[] 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 (ArrayScheme c : ArrayScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArrayScheme valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
schemeFor
public static ArrayScheme schemeFor(DapVariable field)
-
-