Interface Contravariant<A,​C extends Contravariant<?,​C>>

    • Method Detail

      • contraMap

        <B> Contravariant<B,​C> contraMap​(Fn1<? super B,​? extends A> fn)
        Contravariantly map A <- B.
        Type Parameters:
        B - the new parameter type
        Parameters:
        fn - the mapping function
        Returns:
        the mapped Contravariant functor instance