Enum Node.NodeType

java.lang.Object
java.lang.Enum<Node.NodeType>
com.github.raimannma.architecture.Node.NodeType
All Implemented Interfaces:
Serializable, Comparable<Node.NodeType>, Constable
Enclosing class:
Node

public static enum Node.NodeType
extends Enum<Node.NodeType>
Node types.

Stores all possible types of nodes ("Input", "Hidden", "Output")

  • Enum Constant Details

    • HIDDEN

      public static final Node.NodeType HIDDEN
      Hidden node type.

      Indicates that this node is part of the hidden layer(s).

    • INPUT

      public static final Node.NodeType INPUT
      Input node type.

      Indicates that this node is part of the input layer.

    • OUTPUT

      public static final Node.NodeType OUTPUT
      Output node type.

      Indicates that this node is part of the output layer.

  • Method Details

    • values

      public static Node.NodeType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Node.NodeType 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 name
      NullPointerException - if the argument is null