Class Output<T>

  • Type Parameters:
    T - The type of the parameter.

    public class Output<T>
    extends Object
    Simple struct-like class for output parameters.
    • Field Detail

      • value

        public T value
        The value field
    • Constructor Detail

      • Output

        public Output()
        Constructs an empty Output
      • Output

        public Output​(T value)
        Constructs an Output with the given value.
        Parameters:
        value - the initial value