Interface ErronousValue<V>

  • Type Parameters:
    V - the type of the value of the scalar and therefore also the one of the error.
    All Superinterfaces:
    java.io.Serializable
    All Known Subinterfaces:
    QuantifiedValue<S>
    All Known Implementing Classes:
    ImmutableErronousValue, ImmutableQuantifiedValue

    public interface ErronousValue<V>
    extends java.io.Serializable
    A scalar value that additionally holds an error. The error type is the same as the value type.
    • Method Detail

      • value

        V value()
      • error

        com.google.common.base.Optional<V> error()
        Retrieve the error of the scalar
        Returns:
        the error