language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | ReactiveX | RxJava | bb3260ec3729d9d9c0934a958f3added8ca65408.json | add delayError to Maybe.delay (#6864) | src/main/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeDelay.java | @@ -33,16 +33,19 @@
final Scheduler scheduler;
- public MaybeDelay(MaybeSource<T> source, long delay, TimeUnit unit, Scheduler scheduler) {
+ final boolean delayError;
+
+ public MaybeDelay(MaybeSource<T> source, long delay, TimeUnit unit, Scheduler scheduler, boolean delayError) {
super(sour... | true |
Other | ReactiveX | RxJava | bb3260ec3729d9d9c0934a958f3added8ca65408.json | add delayError to Maybe.delay (#6864) | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeDelayTest.java | @@ -96,4 +96,32 @@ public Maybe<Object> apply(Maybe<Object> f) throws Exception {
}
});
}
+
+ @Test
+ public void delayedErrorOnSuccess() {
+ final TestScheduler scheduler = new TestScheduler();
+ final TestObserver<Integer> observer = Maybe.just(1)
+ .delay... | true |
Other | ReactiveX | RxJava | bb3260ec3729d9d9c0934a958f3added8ca65408.json | add delayError to Maybe.delay (#6864) | src/test/java/io/reactivex/rxjava3/validators/ParamValidationCheckerTest.java | @@ -289,6 +289,8 @@ public void checkParallelFlowable() {
// negative time is considered as zero time
addOverride(new ParamOverride(Maybe.class, 0, ParamMode.ANY, "delay", Long.TYPE, TimeUnit.class));
addOverride(new ParamOverride(Maybe.class, 0, ParamMode.ANY, "delay", Long.TYPE, TimeUnit.cl... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/main/java/io/reactivex/rxjava3/core/Completable.java | @@ -332,21 +332,21 @@ public static Completable create(@NonNull CompletableOnSubscribe source) {
* <dt><b>Scheduler:</b></dt>
* <dd>{@code unsafeCreate} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
- * @param source the callback which will receive the {@link Comple... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/main/java/io/reactivex/rxjava3/core/Flowable.java | @@ -2178,23 +2178,23 @@ public static <T> Flowable<T> error(@NonNull Throwable throwable) {
* <dd>{@code fromPublisher} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
* @param <T> the value type of the flow
- * @param source the {@code Publisher} to convert
+ * @p... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -620,17 +620,17 @@ public static <T> Maybe<T> create(@NonNull MaybeOnSubscribe<T> onSubscribe) {
* <dd>{@code defer} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
* @param <T> the value type
- * @param maybeSupplier the {@code Supplier} that is called for each indi... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/main/java/io/reactivex/rxjava3/core/Observable.java | @@ -1692,20 +1692,20 @@ public static <T> Observable<T> empty() {
* <dd>{@code error} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
*
- * @param errorSupplier
+ * @param supplier
* a {@link Supplier} factory to return a {@link Throwable} for each... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -557,17 +557,17 @@ public static <T> Flowable<T> concatEager(@NonNull Iterable<@NonNull ? extends S
* <dd>{@code defer} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
* @param <T> the value type
- * @param singleSupplier the {@code Supplier} that is called for each ... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/BlockingFlowableMostRecentTest.java | @@ -26,10 +26,6 @@
import io.reactivex.rxjava3.schedulers.TestScheduler;
public class BlockingFlowableMostRecentTest extends RxJavaTest {
- @Test
- public void mostRecentNull() {
- assertNull(Flowable.<Void>never().blockingMostRecent(null).iterator().next());
- }
@Test
public void mostRe... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/test/java/io/reactivex/rxjava3/internal/operators/observable/BlockingObservableMostRecentTest.java | @@ -27,10 +27,6 @@
import io.reactivex.rxjava3.subjects.*;
public class BlockingObservableMostRecentTest extends RxJavaTest {
- @Test
- public void mostRecentNull() {
- assertNull(Observable.<Void>never().blockingMostRecent(null).iterator().next());
- }
static <T> Iterable<T> mostRecent(Obser... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/test/java/io/reactivex/rxjava3/internal/util/OperatorArgumentNaming.java | @@ -0,0 +1,169 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/test/java/io/reactivex/rxjava3/validators/ParamValidationCheckerTest.java | @@ -142,9 +142,6 @@ public void checkParallelFlowable() {
addOverride(new ParamOverride(Flowable.class, 0, ParamMode.ANY, "delay", Long.TYPE, TimeUnit.class, Scheduler.class));
addOverride(new ParamOverride(Flowable.class, 0, ParamMode.ANY, "delay", Long.TYPE, TimeUnit.class, Scheduler.class, Boolean.... | true |
Other | ReactiveX | RxJava | 0c84f4017f576bd250e4408d8410f6647507027c.json | 3.x: Fix method argument naming across types (#6853)
* 3.x: Fix method argument naming across types
* Remove outdated null-test of blockingMostRecent | src/test/java/io/reactivex/rxjava3/validators/ParamValidationNaming.java | @@ -203,7 +203,7 @@ static void processFile(Class<?> clazz) throws Exception {
int quote = line.indexOf('"', comma);
- String message = line.substring(quote + 1, quote + 2 + paramName.length());
+ String message = line.substring(quote + 1, Math.min(line.len... | true |
Other | ReactiveX | RxJava | 336ecb8999d9c8206e242abcd90dd9465f20b21f.json | Fix a minor mistake in the generator and docs | docs/Operator-Matrix.md | @@ -238,5 +238,3 @@ Operator | `Flowable` | `Observable` | `Maybe` | `Single` | `Completable` |
`zip`|||
* [Utility](https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators)
* [Notable 3rd party Operators (Alphabetical List)](https://github.com/ReactiveX/RxJava/wiki/Alphabetical-List-of-3rd-party-... | true |
Other | ReactiveX | RxJava | 336ecb8999d9c8206e242abcd90dd9465f20b21f.json | Fix a minor mistake in the generator and docs | src/test/java/io/reactivex/rxjava3/internal/util/OperatorMatrixGenerator.java | @@ -61,7 +61,7 @@ public static void main(String[] args) throws IOException {
List<String> sortedOperators = new ArrayList<>(operatorSet);
sortedOperators.sort(Comparator.naturalOrder());
- try (PrintWriter out = new PrintWriter(Files.newBufferedWriter(Paths.get("docs", "Operator-Matrix.md"),... | true |
Other | ReactiveX | RxJava | 9ed54168db22da80c5c75495ab3dde9a64faa06d.json | 3.x: Improve wording of operators (#6843) | src/main/java/io/reactivex/rxjava3/core/Completable.java | @@ -1596,7 +1596,7 @@ public final Completable doOnEvent(@NonNull Consumer<@Nullable ? super Throwable
* </dl>
* @param onSubscribe the consumer called when a {@link CompletableObserver} subscribes.
* @param onError the consumer called when this emits an {@code onError} event
- * @param onComplete... | true |
Other | ReactiveX | RxJava | 9ed54168db22da80c5c75495ab3dde9a64faa06d.json | 3.x: Improve wording of operators (#6843) | src/main/java/io/reactivex/rxjava3/core/Flowable.java | @@ -7270,9 +7270,9 @@ public final <U> Single<U> collect(@NonNull Supplier<? extends U> initialItemSup
}
/**
- * Transform a {@link Publisher} by applying a particular Transformer function to it.
+ * Transform the current {@code Flowable} by applying a particular {@link FlowableTransformer} function... | true |
Other | ReactiveX | RxJava | 9ed54168db22da80c5c75495ab3dde9a64faa06d.json | 3.x: Improve wording of operators (#6843) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -420,7 +420,7 @@ public static <T> Flowable<T> concatArrayDelayError(@NonNull MaybeSource<? exten
/**
* Concatenates a sequence of {@link MaybeSource} eagerly into a {@link Flowable} sequence.
* <p>
- * Eager concatenation means that once a subscriber subscribes, this operator subscribes to all ... | true |
Other | ReactiveX | RxJava | 9ed54168db22da80c5c75495ab3dde9a64faa06d.json | 3.x: Improve wording of operators (#6843) | src/main/java/io/reactivex/rxjava3/core/Observable.java | @@ -8493,7 +8493,8 @@ public final Observable<T> doOnEach(@NonNull Observer<? super T> observer) {
}
/**
- * Modifies the current {@code Observable} so that it invokes an action if it calls {@code onError}.
+ * Calls the given {@link Consumer} with the error {@link Throwable} if the current {@code O... | true |
Other | ReactiveX | RxJava | 9ed54168db22da80c5c75495ab3dde9a64faa06d.json | 3.x: Improve wording of operators (#6843) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -2092,7 +2092,7 @@ public final Single<T> hide() {
* This method operates on the {@code Single} itself whereas {@link #lift} operates on {@link SingleObserver}s.
* <p>
* If the operator you are creating is designed to act on the individual item emitted by a {@code Single}, use
- * {@link #lift}... | true |
Other | ReactiveX | RxJava | 9ed54168db22da80c5c75495ab3dde9a64faa06d.json | 3.x: Improve wording of operators (#6843) | src/test/java/io/reactivex/rxjava3/validators/JavadocWording.java | @@ -250,11 +250,41 @@ public void flowableDocRefersToFlowableTypes() throws Exception {
}
jdx = 0;
for (;;) {
- int idx = m.javadoc.indexOf("Observer", jdx);
+ int idx = m.javadoc.indexOf(" Observer", jdx);
if ... | true |
Other | ReactiveX | RxJava | 2a484a65a4924e0e93ed0249357d89afc9628858.json | 3.x: enable javac parameter saving in class files (#6839) | build.gradle | @@ -87,6 +87,10 @@ dependencies {
testImplementation "com.google.guava:guava:$guavaVersion"
}
+tasks.withType(JavaCompile) {
+ options.compilerArgs << "-parameters";
+}
+
javadoc {
failOnError = false
exclude "**/internal/**" | true |
Other | ReactiveX | RxJava | 2a484a65a4924e0e93ed0249357d89afc9628858.json | 3.x: enable javac parameter saving in class files (#6839) | src/test/java/io/reactivex/rxjava3/validators/ParameterNamesInClassesTest.java | @@ -0,0 +1,32 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 479a7a28f982ccdf236c3afb494556decef9ab72.json | 3.x: Remove a pointless concatMapIterable overload (#6837) | src/main/java/io/reactivex/rxjava3/core/Observable.java | @@ -7112,39 +7112,6 @@ public final <U> Observable<U> concatMapIterable(@NonNull Function<? super T, ?
return RxJavaPlugins.onAssembly(new ObservableFlattenIterable<>(this, mapper));
}
- /**
- * Returns an {@code Observable} that concatenate each item emitted by the current {@code Observable} wit... | true |
Other | ReactiveX | RxJava | 479a7a28f982ccdf236c3afb494556decef9ab72.json | 3.x: Remove a pointless concatMapIterable overload (#6837) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableConcatTest.java | @@ -879,7 +879,7 @@ public void concatMapIterableBufferSize() {
public Iterable<Integer> apply(Integer v) throws Exception {
return Arrays.asList(1, 2, 3, 4, 5);
}
- }, 1)
+ })
.test()
.assertResult(1, 2, 3, 4, 5, 1, 2, 3, 4, 5);
} | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/main/java/io/reactivex/rxjava3/core/Flowable.java | @@ -2089,95 +2089,6 @@ public static <T> Flowable<T> error(@NonNull Throwable throwable) {
return RxJavaPlugins.onAssembly(new FlowableFromFuture<>(future, timeout, unit));
}
- /**
- * Converts a {@link Future} into a {@link Publisher}, with a timeout on the {@code Future}.
- * <p>
- * <i... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/main/java/io/reactivex/rxjava3/core/Observable.java | @@ -1839,84 +1839,6 @@ public static <T> Observable<T> fromFuture(@NonNull Future<? extends T> future,
return RxJavaPlugins.onAssembly(new ObservableFromFuture<>(future, timeout, unit));
}
- /**
- * Converts a {@link Future} into an ObservableSource, with a timeout on the Future.
- * <p>
- ... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -722,73 +722,6 @@ public static <T> Single<T> error(@NonNull Throwable exception) {
return toSingle(Flowable.fromFuture(future, timeout, unit));
}
- /**
- * Converts a {@link Future} into a {@code Single}, with a timeout on the {@code Future}.
- * <p>
- * <img width="640" height="315" ... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/flowable/FlowableNullTests.java | @@ -252,23 +252,13 @@ public void fromFutureTimedUnitNull() {
Flowable.fromFuture(new FutureTask<>(Functions.EMPTY_RUNNABLE, null), 1, null);
}
- @Test(expected = NullPointerException.class)
- public void fromFutureTimedSchedulerNull() {
- Flowable.fromFuture(new FutureTask<>(Functions.EMPT... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableToFutureTest.java | @@ -62,7 +62,7 @@ public void successOperatesOnSuppliedScheduler() throws Exception {
TestScheduler scheduler = new TestScheduler();
TestSubscriber<Object> ts = new TestSubscriber<>(subscriber);
- Flowable.fromFuture(future, scheduler).subscribe(ts);
+ Flowable.fromFuture(future).subsc... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromTest.java | @@ -30,7 +30,8 @@ public class ObservableFromTest extends RxJavaTest {
@Test
public void fromFutureTimeout() throws Exception {
Observable.fromFuture(Observable.never()
- .toFuture(), 100, TimeUnit.MILLISECONDS, Schedulers.io())
+ .toFuture(), 100, TimeUnit.MILLISECONDS)
+ .subsc... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableToFutureTest.java | @@ -61,7 +61,7 @@ public void successOperatesOnSuppliedScheduler() throws Exception {
TestScheduler scheduler = new TestScheduler();
TestObserver<Object> to = new TestObserver<>(o);
- Observable.fromFuture(future, scheduler).subscribe(to);
+ Observable.fromFuture(future).subscribeOn(sc... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleFromTest.java | @@ -24,15 +24,17 @@ public class SingleFromTest extends RxJavaTest {
@Test
public void fromFuture() throws Exception {
- Single.fromFuture(Flowable.just(1).toFuture(), Schedulers.io())
+ Single.fromFuture(Flowable.just(1).toFuture())
+ .subscribeOn(Schedulers.io())
.test()
... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/observable/ObservableNullTests.java | @@ -299,24 +299,13 @@ public void fromFutureTimedUnitNull() {
Observable.fromFuture(new FutureTask<>(Functions.EMPTY_RUNNABLE, null), 1, null);
}
- @Test(expected = NullPointerException.class)
- public void fromFutureTimedSchedulerNull() {
- Observable.fromFuture(new FutureTask<>(Functions.... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/single/SingleNullTests.java | @@ -194,33 +194,13 @@ public Object call() throws Exception {
}), 1, null);
}
- @Test(expected = NullPointerException.class)
- public void fromFutureTimedSchedulerNull() {
- Single.fromFuture(new FutureTask<>(new Callable<Object>() {
- @Override
- public Object call() ... | true |
Other | ReactiveX | RxJava | 9e2fa63aa044b67d28de351aee32685e4eaa8c2d.json | 3.x: Remove fromFuture(..., Scheduler) overloads (#6814) | src/test/java/io/reactivex/rxjava3/validators/ParamValidationCheckerTest.java | @@ -125,7 +125,6 @@ public void checkParallelFlowable() {
// negative timeout is allowed
addOverride(new ParamOverride(Flowable.class, 1, ParamMode.ANY, "fromFuture", Future.class, Long.TYPE, TimeUnit.class));
- addOverride(new ParamOverride(Flowable.class, 1, ParamMode.ANY, "fromFuture", Fut... | true |
Other | ReactiveX | RxJava | e54ea2d4906b9bcf1c4932d0f5695e5bb62d1595.json | Fix minor Javadoc mistakes | src/main/java/io/reactivex/rxjava3/core/Flowable.java | @@ -4461,7 +4461,7 @@ public static Flowable<Long> timer(long delay, @NonNull TimeUnit unit, @NonNull
/**
* Create a {@code Flowable} by wrapping a {@link Publisher} <em>which has to be implemented according
- * to the <em>Reactive Streams</em> specification by handling backpressure and
+ * to the ... | true |
Other | ReactiveX | RxJava | e54ea2d4906b9bcf1c4932d0f5695e5bb62d1595.json | Fix minor Javadoc mistakes | src/main/java/io/reactivex/rxjava3/core/Observable.java | @@ -16342,6 +16342,7 @@ public final Stream<T> blockingStream() {
* stream.limit(3).forEach(System.out::println);
* }
* </code></pre>
+ * <dl>
* <dt><b>Scheduler:</b></dt>
* <dd>{@code blockingStream} does not operate by default on a particular {@link Scheduler}.</dd>
* </d... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/disposables/AutoCloseableDisposable.java | @@ -14,7 +14,7 @@
package io.reactivex.rxjava3.disposables;
import io.reactivex.rxjava3.annotations.NonNull;
-import io.reactivex.rxjava3.plugins.RxJavaPlugins;
+import io.reactivex.rxjava3.internal.util.ExceptionHelper;
/**
* A disposable container that manages an {@link AutoCloseable} instance.
@@ -33,7 +33,... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream.java | @@ -21,7 +21,7 @@
import io.reactivex.rxjava3.annotations.NonNull;
import io.reactivex.rxjava3.core.*;
-import io.reactivex.rxjava3.exceptions.MissingBackpressureException;
+import io.reactivex.rxjava3.exceptions.*;
import io.reactivex.rxjava3.functions.*;
import io.reactivex.rxjava3.internal.fuseable.*;
import ... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream.java | @@ -55,6 +55,7 @@ protected void subscribeActual(Observer<? super R> observer) {
stream = Objects.requireNonNull(mapper.apply(t), "The mapper returned a null Stream");
}
} catch (Throwable ex) {
+ Exceptions.throwIfFatal(ex);
EmptyDispos... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableCollect.java | @@ -39,6 +39,7 @@ protected void subscribeActual(Subscriber<? super U> s) {
try {
u = Objects.requireNonNull(initialSupplier.get(), "The initial value supplied is null");
} catch (Throwable e) {
+ Exceptions.throwIfFatal(e);
EmptySubscription.error(e, s);
... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableCollectSingle.java | @@ -44,6 +44,7 @@ protected void subscribeActual(SingleObserver<? super U> observer) {
try {
u = Objects.requireNonNull(initialSupplier.get(), "The initialSupplier returned a null value");
} catch (Throwable e) {
+ Exceptions.throwIfFatal(e);
EmptyDisposable.error(... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableDoOnEach.java | @@ -159,6 +159,7 @@ public T poll() throws Throwable {
try {
onError.accept(ex);
} catch (Throwable exc) {
+ Exceptions.throwIfFatal(exc);
throw new CompositeException(ex, exc);
}
throw Excep... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableReplay.java | @@ -209,6 +209,7 @@ public void connect(Consumer<? super Disposable> connection) {
try {
connection.accept(ps);
} catch (Throwable ex) {
+ Exceptions.throwIfFatal(ex);
if (doConnect) {
ps.shouldConnect.compareAndSet(true, false);
} | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableScalarXMap.java | @@ -136,6 +136,7 @@ public void subscribeActual(Subscriber<? super R> s) {
try {
other = Objects.requireNonNull(mapper.apply(value), "The mapper returned a null Publisher");
} catch (Throwable e) {
+ Exceptions.throwIfFatal(e);
EmptySubscription... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableWindowBoundarySelector.java | @@ -245,6 +245,7 @@ void drain() {
try {
endSource = Objects.requireNonNull(closingIndicator.apply(startItem), "The closingIndicator returned a null Publisher");
} catch (Throwable ex) {
+ ... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableZipIterable.java | @@ -101,15 +101,15 @@ public void onNext(T t) {
try {
u = Objects.requireNonNull(iterator.next(), "The iterator returned a null value");
} catch (Throwable e) {
- error(e);
+ fail(e);
return;
}
V v;
... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeFromFuture.java | @@ -52,6 +52,7 @@ protected void subscribeActual(MaybeObserver<? super T> observer) {
v = future.get(timeout, unit);
}
} catch (Throwable ex) {
+ Exceptions.throwIfFatal(ex);
if (ex instanceof ExecutionException) {
e... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableBuffer.java | @@ -186,6 +186,7 @@ public void onNext(T t) {
try {
b = ExceptionHelper.nullCheck(bufferSupplier.get(), "The bufferSupplier returned a null Collection.");
} catch (Throwable e) {
+ Exceptions.throwIfFatal(e);
buffers.clear();... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableCollect.java | @@ -14,6 +14,7 @@
import io.reactivex.rxjava3.core.*;
import io.reactivex.rxjava3.disposables.Disposable;
+import io.reactivex.rxjava3.exceptions.Exceptions;
import io.reactivex.rxjava3.functions.*;
import io.reactivex.rxjava3.internal.disposables.*;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;
@@ -37,6 +3... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableCollectSingle.java | @@ -14,6 +14,7 @@
import io.reactivex.rxjava3.core.*;
import io.reactivex.rxjava3.disposables.Disposable;
+import io.reactivex.rxjava3.exceptions.Exceptions;
import io.reactivex.rxjava3.functions.*;
import io.reactivex.rxjava3.internal.disposables.*;
import io.reactivex.rxjava3.internal.fuseable.FuseToObservable... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableReplay.java | @@ -205,6 +205,7 @@ public void connect(Consumer<? super Disposable> connection) {
try {
connection.accept(ps);
} catch (Throwable ex) {
+ Exceptions.throwIfFatal(ex);
if (doConnect) {
ps.shouldConnect.compareAndSet(true, false);
} | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableScalarXMap.java | @@ -140,6 +140,7 @@ public void subscribeActual(Observer<? super R> observer) {
try {
other = Objects.requireNonNull(mapper.apply(value), "The mapper returned a null ObservableSource");
} catch (Throwable e) {
+ Exceptions.throwIfFatal(e);
Empty... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableWindowBoundarySelector.java | @@ -237,6 +237,7 @@ void drain() {
try {
endSource = Objects.requireNonNull(closingIndicator.apply(startItem), "The closingIndicator returned a null ObservableSource");
} catch (Throwable ex) {
+ ... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/schedulers/InstantPeriodicTask.java | @@ -20,6 +20,7 @@
import java.util.concurrent.atomic.AtomicReference;
import io.reactivex.rxjava3.disposables.Disposable;
+import io.reactivex.rxjava3.exceptions.Exceptions;
import io.reactivex.rxjava3.internal.functions.Functions;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;
@@ -56,6 +57,7 @@ public Void... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/schedulers/ScheduledDirectPeriodicTask.java | @@ -16,6 +16,7 @@
package io.reactivex.rxjava3.internal.schedulers;
+import io.reactivex.rxjava3.exceptions.Exceptions;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;
/**
@@ -38,6 +39,7 @@ public void run() {
runnable.run();
runner = null;
} catch (Throwable ex) {
+ ... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/main/java/io/reactivex/rxjava3/internal/schedulers/SchedulerPoolFactory.java | @@ -20,6 +20,7 @@
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicReference;
+import io.reactivex.rxjava3.exceptions.Exceptions;
import io.reactivex.rxjava3.functions.Function;
/**
@@ -108,6 +109,7 @@ static int getIntProperty(boolean enabled, String key, int defaultNotFound, int
... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/test/java/io/reactivex/rxjava3/disposables/DisposableTest.java | @@ -213,17 +213,20 @@ public void fromAutoCloseableThrows() throws Throwable {
assertTrue(errors.isEmpty());
- d.dispose();
+ try {
+ d.dispose();
+ fail("Should have thrown!");
+ } catch (TestException expected) {
+ // expec... | true |
Other | ReactiveX | RxJava | a97d871ee7161fc9f4684d95cae3e94340cd0ccf.json | 3.x: Add missing throwIfFatal calls (#6801) | src/test/java/io/reactivex/rxjava3/validators/CatchThrowIfFatalCheck.java | @@ -0,0 +1,96 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/CompletableConverter.java | @@ -22,6 +22,7 @@
* @param <R> the output type
* @since 2.2
*/
+@FunctionalInterface
public interface CompletableConverter<R> {
/**
* Applies a function to the upstream Completable and returns a converted value of type {@code R}. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/CompletableOnSubscribe.java | @@ -19,6 +19,7 @@
* an instance of a {@link CompletableEmitter} instance that allows pushing
* an event in a cancellation-safe manner.
*/
+@FunctionalInterface
public interface CompletableOnSubscribe {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/CompletableOperator.java | @@ -18,6 +18,7 @@
/**
* Interface to map/wrap a downstream observer to an upstream observer.
*/
+@FunctionalInterface
public interface CompletableOperator {
/**
* Applies a function to the child CompletableObserver and returns a new parent CompletableObserver. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/CompletableSource.java | @@ -20,6 +20,7 @@
*
* @since 2.0
*/
+@FunctionalInterface
public interface CompletableSource {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/CompletableTransformer.java | @@ -19,6 +19,7 @@
* Convenience interface and callback used by the compose operator to turn a Completable into another
* Completable fluently.
*/
+@FunctionalInterface
public interface CompletableTransformer {
/**
* Applies a function to the upstream Completable and returns a CompletableSource. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/FlowableConverter.java | @@ -23,6 +23,7 @@
* @param <R> the output type
* @since 2.2
*/
+@FunctionalInterface
public interface FlowableConverter<T, R> {
/**
* Applies a function to the upstream Flowable and returns a converted value of type {@code R}. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/FlowableOnSubscribe.java | @@ -21,6 +21,7 @@
*
* @param <T> the value type pushed
*/
+@FunctionalInterface
public interface FlowableOnSubscribe<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/FlowableOperator.java | @@ -23,6 +23,7 @@
* @param <Downstream> the value type of the downstream
* @param <Upstream> the value type of the upstream
*/
+@FunctionalInterface
public interface FlowableOperator<Downstream, Upstream> {
/**
* Applies a function to the child Subscriber and returns a new parent Subscriber. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/FlowableTransformer.java | @@ -23,6 +23,7 @@
* @param <Upstream> the upstream value type
* @param <Downstream> the downstream value type
*/
+@FunctionalInterface
public interface FlowableTransformer<Upstream, Downstream> {
/**
* Applies a function to the upstream Flowable and returns a Publisher with | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/MaybeConverter.java | @@ -23,6 +23,7 @@
* @param <R> the output type
* @since 2.2
*/
+@FunctionalInterface
public interface MaybeConverter<T, R> {
/**
* Applies a function to the upstream Maybe and returns a converted value of type {@code R}. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/MaybeOnSubscribe.java | @@ -21,6 +21,7 @@
*
* @param <T> the value type pushed
*/
+@FunctionalInterface
public interface MaybeOnSubscribe<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/MaybeOperator.java | @@ -20,6 +20,7 @@
* @param <Downstream> the value type of the downstream
* @param <Upstream> the value type of the upstream
*/
+@FunctionalInterface
public interface MaybeOperator<Downstream, Upstream> {
/**
* Applies a function to the child MaybeObserver and returns a new parent MaybeObserver. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/MaybeSource.java | @@ -24,6 +24,7 @@
* @param <T> the element type
* @since 2.0
*/
+@FunctionalInterface
public interface MaybeSource<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/MaybeTransformer.java | @@ -21,6 +21,7 @@
* @param <Upstream> the upstream value type
* @param <Downstream> the downstream value type
*/
+@FunctionalInterface
public interface MaybeTransformer<Upstream, Downstream> {
/**
* Applies a function to the upstream Maybe and returns a MaybeSource with | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/ObservableConverter.java | @@ -23,6 +23,7 @@
* @param <R> the output type
* @since 2.2
*/
+@FunctionalInterface
public interface ObservableConverter<T, R> {
/**
* Applies a function to the upstream Observable and returns a converted value of type {@code R}. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/ObservableOnSubscribe.java | @@ -21,6 +21,7 @@
*
* @param <T> the value type pushed
*/
+@FunctionalInterface
public interface ObservableOnSubscribe<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/ObservableOperator.java | @@ -21,6 +21,7 @@
* @param <Downstream> the value type of the downstream
* @param <Upstream> the value type of the upstream
*/
+@FunctionalInterface
public interface ObservableOperator<Downstream, Upstream> {
/**
* Applies a function to the child Observer and returns a new parent Observer. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/ObservableSource.java | @@ -21,6 +21,7 @@
* @param <T> the element type
* @since 2.0
*/
+@FunctionalInterface
public interface ObservableSource<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/ObservableTransformer.java | @@ -21,6 +21,7 @@
* @param <Upstream> the upstream value type
* @param <Downstream> the downstream value type
*/
+@FunctionalInterface
public interface ObservableTransformer<Upstream, Downstream> {
/**
* Applies a function to the upstream Observable and returns an ObservableSource with | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/SingleConverter.java | @@ -23,6 +23,7 @@
* @param <R> the output type
* @since 2.2
*/
+@FunctionalInterface
public interface SingleConverter<T, R> {
/**
* Applies a function to the upstream Single and returns a converted value of type {@code R}. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/SingleOnSubscribe.java | @@ -21,6 +21,7 @@
*
* @param <T> the value type pushed
*/
+@FunctionalInterface
public interface SingleOnSubscribe<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/SingleOperator.java | @@ -21,6 +21,7 @@
* @param <Downstream> the value type of the downstream
* @param <Upstream> the value type of the upstream
*/
+@FunctionalInterface
public interface SingleOperator<Downstream, Upstream> {
/**
* Applies a function to the child SingleObserver and returns a new parent SingleObserver. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/SingleSource.java | @@ -24,6 +24,7 @@
* @param <T> the element type
* @since 2.0
*/
+@FunctionalInterface
public interface SingleSource<T> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/core/SingleTransformer.java | @@ -21,6 +21,7 @@
* @param <Upstream> the upstream value type
* @param <Downstream> the downstream value type
*/
+@FunctionalInterface
public interface SingleTransformer<Upstream, Downstream> {
/**
* Applies a function to the upstream Single and returns a SingleSource with | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Action.java | @@ -16,6 +16,7 @@
/**
* A functional interface similar to Runnable but allows throwing a checked exception.
*/
+@FunctionalInterface
public interface Action {
/**
* Runs the action and optionally throws a checked exception. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/BiConsumer.java | @@ -18,6 +18,7 @@
* @param <T1> the first value type
* @param <T2> the second value type
*/
+@FunctionalInterface
public interface BiConsumer<T1, T2> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/BiFunction.java | @@ -21,6 +21,7 @@
* @param <T2> the second value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface BiFunction<T1, T2, R> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/BiPredicate.java | @@ -20,6 +20,7 @@
* @param <T1> the first value
* @param <T2> the second value
*/
+@FunctionalInterface
public interface BiPredicate<T1, T2> {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/BooleanSupplier.java | @@ -16,6 +16,7 @@
/**
* A functional interface (callback) that returns a boolean value.
*/
+@FunctionalInterface
public interface BooleanSupplier {
/**
* Returns a boolean value. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Cancellable.java | @@ -17,6 +17,7 @@
* A functional interface that has a single cancel method
* that can throw.
*/
+@FunctionalInterface
public interface Cancellable {
/** | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Consumer.java | @@ -17,6 +17,7 @@
* A functional interface (callback) that accepts a single value.
* @param <T> the value type
*/
+@FunctionalInterface
public interface Consumer<T> {
/**
* Consume the given value. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function.java | @@ -22,6 +22,7 @@
* @param <T> the input value type
* @param <R> the output value type
*/
+@FunctionalInterface
public interface Function<T, R> {
/**
* Apply some calculation to the input value and return some other value. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function3.java | @@ -22,6 +22,7 @@
* @param <T3> the third value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function3<T1, T2, T3, R> {
/**
* Calculate a value based on the input values. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function4.java | @@ -23,6 +23,7 @@
* @param <T4> the fourth value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function4<T1, T2, T3, T4, R> {
/**
* Calculate a value based on the input values. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function5.java | @@ -24,6 +24,7 @@
* @param <T5> the fifth value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function5<T1, T2, T3, T4, T5, R> {
/**
* Calculate a value based on the input values. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function6.java | @@ -25,6 +25,7 @@
* @param <T6> the sixth value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function6<T1, T2, T3, T4, T5, T6, R> {
/**
* Calculate a value based on the input values. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function7.java | @@ -26,6 +26,7 @@
* @param <T7> the seventh value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function7<T1, T2, T3, T4, T5, T6, T7, R> {
/**
* Calculate a value based on the input values. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function8.java | @@ -27,6 +27,7 @@
* @param <T8> the eighth value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> {
/**
* Calculate a value based on the input values. | true |
Other | ReactiveX | RxJava | 0fba7c5530b092d13d29681298545ad98d22249a.json | Add FunctionalInterface annotations. (#6773) | src/main/java/io/reactivex/rxjava3/functions/Function9.java | @@ -28,6 +28,7 @@
* @param <T9> the ninth value type
* @param <R> the result type
*/
+@FunctionalInterface
public interface Function9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R> {
/**
* Calculate a value based on the input values. | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.