Class OperatorToObservableSizedList<T>

  • All Implemented Interfaces:
    rx.functions.Func1<rx.Subscriber<? super java.util.List<T>>,​rx.Subscriber<? super T>>, rx.functions.Function, rx.Observable.Operator<java.util.List<T>,​T>

    public class OperatorToObservableSizedList<T>
    extends java.lang.Object
    implements rx.Observable.Operator<java.util.List<T>,​T>
    Presizes the ArrayList returned by the given size parameter. This will save some seconds in run time for large lists.
    • Method Summary

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

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

      • OperatorToObservableSizedList

        public OperatorToObservableSizedList​(int size)
    • Method Detail

      • call

        public rx.Subscriber<? super T> call​(rx.Subscriber<? super java.util.List<T>> child)
        Specified by:
        call in interface rx.functions.Func1<rx.Subscriber<? super java.util.List<T>>,​rx.Subscriber<? super T>>