Package org.nd4j.autodiff.validation
Enum TestCase.TestSerialization
- java.lang.Object
-
- java.lang.Enum<TestCase.TestSerialization>
-
- org.nd4j.autodiff.validation.TestCase.TestSerialization
-
- All Implemented Interfaces:
Serializable
,Comparable<TestCase.TestSerialization>
- Enclosing class:
- TestCase
public static enum TestCase.TestSerialization extends Enum<TestCase.TestSerialization>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_EXEC
BEFORE_EXEC
BOTH
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestCase.TestSerialization
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestCase.TestSerialization[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_EXEC
public static final TestCase.TestSerialization BEFORE_EXEC
-
AFTER_EXEC
public static final TestCase.TestSerialization AFTER_EXEC
-
BOTH
public static final TestCase.TestSerialization BOTH
-
NONE
public static final TestCase.TestSerialization NONE
-
-
Method Detail
-
values
public static TestCase.TestSerialization[] 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 (TestCase.TestSerialization c : TestCase.TestSerialization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestCase.TestSerialization 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
-
-