Interface LossReporter<T,​R>

  • Type Parameters:
    T - - the Type that we are converting from
    R - - the Type that we are converting to
    All Superinterfaces:
    BiFunction<Nil<T>,​Nil<R>,​Double>
    All Known Subinterfaces:
    LosslessReporter<T,​R>
    All Known Implementing Classes:
    IdentityLossReporter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface LossReporter<T,​R>
    extends BiFunction<Nil<T>,​Nil<R>,​Double>
    BiFunction reporting the worst-case loss of a conversion from a Type from a Type t to a Type r.
    Author:
    Gabriel Selzer