Enum NeuronSquareMesh2D.VerticalDirection
- java.lang.Object
-
- java.lang.Enum<NeuronSquareMesh2D.VerticalDirection>
-
- org.apache.commons.math4.neuralnet.twod.NeuronSquareMesh2D.VerticalDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<NeuronSquareMesh2D.VerticalDirection>
- Enclosing class:
- NeuronSquareMesh2D
public static enum NeuronSquareMesh2D.VerticalDirection extends Enum<NeuronSquareMesh2D.VerticalDirection>
Vertical (along column) direction.- Since:
- 3.6
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NeuronSquareMesh2D.VerticalDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static NeuronSquareMesh2D.VerticalDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UP
public static final NeuronSquareMesh2D.VerticalDirection UP
Row above the current row.
-
CENTER
public static final NeuronSquareMesh2D.VerticalDirection CENTER
Current row.
-
DOWN
public static final NeuronSquareMesh2D.VerticalDirection DOWN
Row below the current row.
-
-
Method Detail
-
values
public static NeuronSquareMesh2D.VerticalDirection[] 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 (NeuronSquareMesh2D.VerticalDirection c : NeuronSquareMesh2D.VerticalDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NeuronSquareMesh2D.VerticalDirection 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
-
-