Class IdentityLossReporter<U,​T extends U>

    • Constructor Detail

      • IdentityLossReporter

        public IdentityLossReporter()
    • Method Detail

      • apply

        public Double apply​(Nil<T> t,
                            Nil<U> u)
        Specified by:
        apply in interface BiFunction<Nil<T extends U>,​Nil<U>,​Double>
        Specified by:
        apply in interface LossReporter<U,​T extends U>
        Parameters:
        t - the Nil describing the type that is being converted from
        u - the Nil describing the type that is being converted to
        Returns:
        the worst-case loss converting from type T to type T (i.e. 0)