public static final class Range.AsInt extends java.lang.Object implements Observable<java.lang.Integer>
| Constructor and Description |
|---|
AsInt(int start,
int count,
Scheduler pool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super java.lang.Integer> observer)
Registers an observer for the notification of Ts.
|
public AsInt(int start,
int count,
Scheduler pool)
start - the start valuecount - the number of values to emitpool - the scheduler pool where to emit the values.@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super java.lang.Integer> observer)
Observableregister in interface Observable<java.lang.Integer>observer - the observer of Ts or any supertype of it