Closed
Description
Since we are aiming at Java 9 and j.u.c.Flow
as the base API, we have the opportunity to use Java-native functional interfaces instead of our Func and Action interfaces, plus rename other components.
I propose the following changes:
Observable
->Flowable
- Plus: no more name conflict with j.u.Observable or RxJava 1.0's Observable
XXXSubject
->XXXProcessor
XXXSubscription
->XXXDisposable
Func0
->j.u.c.f.Supplier
Func1
->j.u.c.f.Function
Func1<T, Boolean>
->j.u.c.f.Predicate
Func2
->j.u.c.f.BiFunction
Func3..FuncN
->rx2.functions.TriFunction
orrx2.functions.Function3
etc.Action0
->Runnable
Action1
->j.u.c.f.Consumer
Action2
->j.u.c.f.BiConsumer
Action3..ActionN
->rx2.functions.TriConsumer
orrx2.functions.Consumer3
etc.