Class JavaMapping$


  • public class JavaMapping$
    extends java.lang.Object
    INTERNAL API
    • Field Detail

      • MODULE$

        public static final JavaMapping$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • JavaMapping$

        public JavaMapping$()
    • Method Detail

      • toJava

        public <J,​S> J toJava​(S s,
                                    JavaMapping<J,​S> mapping)
      • toScala

        public <J,​S> S toScala​(J j,
                                     JavaMapping<J,​S> mapping)
      • identity

        public <T> JavaMapping<T,​T> identity()
        This trivial mapping isn't enabled by default to prevent it from conflicting with the `Inherited` ones
      • iterableMapping

        public <_J,​_S> JavaMapping<java.lang.Iterable<_J>,​scala.collection.immutable.Seq<_S>> iterableMapping​(JavaMapping<_J,​_S> mapping)
      • map

        public <K,​V> JavaMapping<java.util.Map<K,​V>,​scala.collection.immutable.Map<K,​V>> map()
      • option

        public <_J,​_S> JavaMapping<java.util.Optional<_J>,​scala.Option<_S>> option​(JavaMapping<_J,​_S> mapping)
      • flowMapping

        public <JIn,​SIn,​JOut,​SOut,​JM,​SM> JavaMapping<akka.stream.javadsl.Flow<JIn,​JOut,​JM>,​akka.stream.scaladsl.Flow<SIn,​SOut,​SM>> flowMapping​(JavaMapping<JIn,​SIn> inMapping,
                                                                                                                                                                                                           JavaMapping<JOut,​SOut> outMapping,
                                                                                                                                                                                                           JavaMapping<JM,​SM> matValueMapping)
      • graphFlowMapping

        public <JIn,​SIn,​JOut,​SOut,​M> JavaMapping<akka.stream.Graph<akka.stream.FlowShape<JIn,​JOut>,​M>,​akka.stream.Graph<akka.stream.FlowShape<SIn,​SOut>,​M>> graphFlowMapping​(JavaMapping<JIn,​SIn> inMapping,
                                                                                                                                                                                                                                   JavaMapping<JOut,​SOut> outMapping)
      • scalaToJavaAdapterFlow

        public <J,​S> akka.stream.scaladsl.Flow<S,​J,​akka.NotUsed> scalaToJavaAdapterFlow​(JavaMapping<J,​S> mapping)
      • javaToScalaAdapterFlow

        public <J,​S> akka.stream.scaladsl.Flow<J,​S,​akka.NotUsed> javaToScalaAdapterFlow​(JavaMapping<J,​S> mapping)
      • adapterBidiFlow

        public <JIn,​SIn,​SOut,​JOut> akka.stream.scaladsl.BidiFlow<JIn,​SIn,​SOut,​JOut,​akka.NotUsed> adapterBidiFlow​(JavaMapping<JIn,​SIn> inMapping,
                                                                                                                                                           JavaMapping<JOut,​SOut> outMapping)
      • pairMapping

        public <J1,​J2,​S1,​S2> JavaMapping<akka.japi.Pair<J1,​J2>,​scala.Tuple2<S1,​S2>> pairMapping​(JavaMapping<J1,​S1> _1Mapping,
                                                                                                                                    JavaMapping<J2,​S2> _2Mapping)
      • tryMapping

        public <_J,​_S> JavaMapping<scala.util.Try<_J>,​scala.util.Try<_S>> tryMapping​(JavaMapping<_J,​_S> mapping)
      • futureMapping

        public <_J,​_S> JavaMapping<java.util.concurrent.CompletionStage<_J>,​scala.concurrent.Future<_S>> futureMapping​(JavaMapping<_J,​_S> mapping,
                                                                                                                                   scala.concurrent.ExecutionContext ec)