Class SubSource$


  • public class SubSource$
    extends java.lang.Object
    * Upcast a stream of elements to a stream of supertypes of that element. Useful in combination with fan-in operators where you do not want to pay the cost of casting each element in a map.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SubSource$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      SubSource$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <U,​T extends U,​Mat>
      SubSource<U,​Mat>
      upcast​(SubSource<T,​Mat> source)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

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

      • SubSource$

        public SubSource$()
    • Method Detail

      • upcast

        public <U,​T extends U,​Mat> SubSource<U,​Mat> upcast​(SubSource<T,​Mat> source)