| Modifier and Type | Class and Description |
|---|---|
static class |
Channels.ParcelableSelectable<DATA>
Data class storing information about the origin of the data.
|
Channels.Selectable<DATA>| Modifier and Type | Method and Description |
|---|---|
static <OUT> OutputChannel<? extends Channels.ParcelableSelectable<OUT>> |
mergeParcelable(int startIndex,
List<? extends OutputChannel<? extends OUT>> channels)
Merges the specified channels into a selectable one.
|
static OutputChannel<? extends Channels.ParcelableSelectable<?>> |
mergeParcelable(int startIndex,
OutputChannel<?>... channels)
Merges the specified channels into a selectable one.
|
static <OUT> OutputChannel<? extends Channels.ParcelableSelectable<OUT>> |
mergeParcelable(List<? extends OutputChannel<? extends OUT>> channels)
Merges the specified channels into a selectable one.
|
static OutputChannel<? extends Channels.ParcelableSelectable<?>> |
mergeParcelable(OutputChannel<?>... channels)
Merges the specified channels into a selectable one.
|
static <DATA,IN extends DATA> |
selectParcelable(InputChannel<? super Channels.ParcelableSelectable<DATA>> channel,
int index)
Returns a new channel transforming the input data into selectable ones.
Note that the returned channel must be closed in order to ensure the completion of the invocation lifecycle. |
static <OUT> OutputChannel<? extends Channels.ParcelableSelectable<OUT>> |
toSelectable(OutputChannel<? extends OUT> channel,
int index)
Returns a new channel making the specified one selectable.
Each output will be passed along unchanged. |
combine, combine, combine, combine, combine, distribute, distribute, distributeAndFlush, distributeAndFlush, join, join, joinAndFlush, joinAndFlush, map, map, map, map, map, map, merge, merge, merge, merge, merge, select, select, toSelectable@Nonnull public static <OUT> OutputChannel<? extends Channels.ParcelableSelectable<OUT>> mergeParcelable(int startIndex, @Nonnull List<? extends OutputChannel<? extends OUT>> channels)
OUT - the output data type.startIndex - the selectable start index.channels - the list of channels.IllegalArgumentException - if the specified list is empty.@Nonnull public static OutputChannel<? extends Channels.ParcelableSelectable<?>> mergeParcelable(int startIndex, @Nonnull OutputChannel<?>... channels)
startIndex - the selectable start index.channels - the array of channels.IllegalArgumentException - if the specified array is empty.@Nonnull public static <OUT> OutputChannel<? extends Channels.ParcelableSelectable<OUT>> mergeParcelable(@Nonnull List<? extends OutputChannel<? extends OUT>> channels)
OUT - the output data type.channels - the channels to merge.IllegalArgumentException - if the specified list is empty.@Nonnull public static OutputChannel<? extends Channels.ParcelableSelectable<?>> mergeParcelable(@Nonnull OutputChannel<?>... channels)
channels - the channels to merge.IllegalArgumentException - if the specified array is empty.@Nonnull public static <DATA,IN extends DATA> TransportChannel<IN> selectParcelable(@Nullable InputChannel<? super Channels.ParcelableSelectable<DATA>> channel, int index)
DATA - the channel data type.IN - the input data type.channel - the selectable channel.index - the channel index.@Nonnull public static <OUT> OutputChannel<? extends Channels.ParcelableSelectable<OUT>> toSelectable(@Nullable OutputChannel<? extends OUT> channel, int index)
OUT - the output data type.channel - the channel to make selectable.index - the channel index.