Package de.gsi.dataset
Enum DataSetError.ErrorType
- java.lang.Object
-
- java.lang.Enum<DataSetError.ErrorType>
-
- de.gsi.dataset.DataSetError.ErrorType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataSetError.ErrorType>
- Enclosing interface:
- DataSetError
public static enum DataSetError.ErrorType extends java.lang.Enum<DataSetError.ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_ERRORXX_ASYMMETRICXYXY_ASYMMETRICYY_ASYMMETRIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSetError.ErrorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataSetError.ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ERROR
public static final DataSetError.ErrorType NO_ERROR
-
X
public static final DataSetError.ErrorType X
-
Y
public static final DataSetError.ErrorType Y
-
XY
public static final DataSetError.ErrorType XY
-
X_ASYMMETRIC
public static final DataSetError.ErrorType X_ASYMMETRIC
-
Y_ASYMMETRIC
public static final DataSetError.ErrorType Y_ASYMMETRIC
-
XY_ASYMMETRIC
public static final DataSetError.ErrorType XY_ASYMMETRIC
-
-
Method Detail
-
values
public static DataSetError.ErrorType[] 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 (DataSetError.ErrorType c : DataSetError.ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetError.ErrorType 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 namejava.lang.NullPointerException- if the argument is null
-
-