Interface JSMapping<T,R>

All Superinterfaces:
org.teavm.jso.JSObject
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 JSMapping<T,R> extends org.teavm.jso.JSObject
  • Method Summary

    Modifier and Type
    Method
    Description
    default <V> JSMapping<T,V>
    andThen(JSMapping<? super R,? extends V> after)
     
    apply(T t)
     
    default <V> JSMapping<V,R>
    compose(JSMapping<? super V,? extends T> before)
     
    static <T> JSMapping<T,T>
     

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details