Class OutputVariable<T>


  • public class OutputVariable<T>
    extends Object
    Metadata for an output variable of a kernel function.
    • Constructor Detail

      • OutputVariable

        public OutputVariable​(@Nullable
                              String type,
                              @Nullable
                              String description)
        Constructor.
        Parameters:
        type - The type of the output variable.
        description - The description of the output variable.
      • OutputVariable

        public OutputVariable​(@Nullable
                              String description,
                              Class<T> type)
        Constructor.
        Parameters:
        type - The type of the output variable.
        description - The description of the output variable.
    • Method Detail

      • getDescription

        @Nullable
        public String getDescription()
        Get the description of the output variable.
        Returns:
        The description of the output variable.
      • getType

        public Class<?> getType()
        Get the type of the output variable.
        Returns:
        The type of the output variable.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object