Package au.gov.amsa.geo.distance
Class OperatorToObservableSizedList<T>
- java.lang.Object
-
- au.gov.amsa.geo.distance.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.
-
-
Constructor Summary
Constructors Constructor Description OperatorToObservableSizedList(int size)
-
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)
-