38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
package j0.l.a;
|
|
|
|
import j0.k.b;
|
|
import rx.Observable;
|
|
import rx.Subscriber;
|
|
import rx.functions.Func2;
|
|
/* compiled from: OperatorTakeWhile */
|
|
public final class i2<T> implements Observable.b<T, T> {
|
|
public final Func2<? super T, ? super Integer, Boolean> i;
|
|
|
|
/* compiled from: OperatorTakeWhile */
|
|
public class a implements Func2<T, Integer, Boolean> {
|
|
public final /* synthetic */ b i;
|
|
|
|
public a(b bVar) {
|
|
this.i = bVar;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
|
|
@Override // rx.functions.Func2
|
|
public Boolean call(Object obj, Integer num) {
|
|
return (Boolean) this.i.call(obj);
|
|
}
|
|
}
|
|
|
|
public i2(b<? super T, Boolean> bVar) {
|
|
this.i = new a(bVar);
|
|
}
|
|
|
|
@Override // j0.k.b
|
|
public Object call(Object obj) {
|
|
Subscriber subscriber = (Subscriber) obj;
|
|
j2 j2Var = new j2(this, subscriber, false, subscriber);
|
|
subscriber.add(j2Var);
|
|
return j2Var;
|
|
}
|
|
}
|