Class Unchecked<T>

  • Type Parameters:
    T - Type of result
    All Implemented Interfaces:
    Scalar<T>

    public final class Unchecked<T>
    extends Object
    implements Scalar<T>
    Scalar that doesn't throw checked Exception.

    There is no thread-safety guarantee.

    Since:
    0.3
    • Constructor Detail

      • Unchecked

        public Unchecked​(Scalar<? extends T> scalar)
        Ctor.
        Parameters:
        scalar - Encapsulated origin
    • Method Detail

      • value

        public T value()
        Description copied from interface: Scalar
        Convert it to the value.
        Specified by:
        value in interface Scalar<T>
        Returns:
        The value