void init() {
this.child.add(Subscriptions.create(new Action0() {
public void call() {
if (InexactSubscriber.this.noWindow) {
InexactSubscriber.this.unsubscribe();
}
}
}));
this.child.setProducer(new Producer() {
public void request(long n) {
if (n > 0) {
long u = n * ((long) OperatorWindowWithSize.this.size);
if (!((u >>> 31) == 0 || u / n == ((long) OperatorWindowWithSize.this.size))) {
u = Long.MAX_VALUE;
}
InexactSubscriber.this.requestMore(u);
}
}
});
}
OperatorWindowWithSize.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:boohee_v5.6
作者:
评论列表
文章目录