Class OperatorCast<T,​R>

  • Type Parameters:
    T - the input value type
    R - the output value type
    All Implemented Interfaces:
    Func1<Subscriber<? super R>,​Subscriber<? super T>>, Function, Observable.Operator<R,​T>

    public class OperatorCast<T,​R>
    extends java.lang.Object
    implements Observable.Operator<R,​T>
    Converts the elements of an observable sequence to the specified type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Class<R> castClass  
    • Constructor Summary

      Constructors 
      Constructor Description
      OperatorCast​(java.lang.Class<R> castClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Subscriber<? super T> call​(Subscriber<? super R> o)  
      • Methods inherited from class java.lang.Object

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

      • castClass

        final java.lang.Class<R> castClass
    • Constructor Detail

      • OperatorCast

        public OperatorCast​(java.lang.Class<R> castClass)