Added in API level 36.1
    Downstream
@FunctionalInterface interface Downstream<T : Any!>
| java.util.stream.Gatherer.Downstream | 
A Downstream object is the next stage in a pipeline of operations, to which elements can be sent.
Summary
| Public methods | |
|---|---|
| open Boolean | Checks whether the next stage is known to not want any more elements sent to it. | 
| abstract Boolean | push(element: T)Pushes, if possible, the provided element downstream -- to the next stage in the pipeline. | 
Public methods
isRejecting
Added in API level 36.1
      open fun isRejecting(): Boolean
Checks whether the next stage is known to not want any more elements sent to it.
| Return | |
|---|---|
| Boolean | trueif this Downstream is known not to want any more elements sent to it,falseif otherwise | 
push
Added in API level 36.1
      abstract fun push(element: T): Boolean
Pushes, if possible, the provided element downstream -- to the next stage in the pipeline.
| Parameters | |
|---|---|
| element | T: the element to push downstream | 
| Return | |
|---|---|
| Boolean | trueif more elements can be sent, andfalseif not. | 
