Slide 5
Slide 5 text
public final Observable takeLast(long count, long time, TimeUnit unit,
Scheduler scheduler, boolean delayError, int bufferSize) {
ObjectHelper.requireNonNull(unit, "unit is null");
ObjectHelper.requireNonNull(scheduler, "scheduler is null");
ObjectHelper.verifyPositive(bufferSize, "bufferSize");
if (count < 0) {
throw new IndexOutOfBoundsException(
"count >= 0 required but it was " + count);
}
return RxJavaPlugins.onAssembly(new ObservableTakeLastTimed(this, count,
time, unit, scheduler, bufferSize, delayError));
}
RxJava.Observable