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