Returns a (singleton) Maybe instance that calls MaybeObserver#onComplete onComplete immediately. Scheduler: empty does not
()
| 907 | * @return the shared {@code Maybe} instance |
| 908 | */ |
| 909 | @CheckReturnValue |
| 910 | @SchedulerSupport(SchedulerSupport.NONE) |
| 911 | @SuppressWarnings("unchecked") |
| 912 | @NonNull |
| 913 | public static <@NonNull T> Maybe<T> empty() { |
| 914 | return RxJavaPlugins.onAssembly((Maybe<T>)MaybeEmpty.INSTANCE); |
| 915 | } |
| 916 | |
| 917 | /** |
| 918 | * Returns a {@code Maybe} that invokes a subscriber's {@link MaybeObserver#onError onError} method when the |