Skip to content

Commit

Permalink
Merge pull request #271 from ni-ze/develop
Browse files Browse the repository at this point in the history
[ISSUE #268]modify the return type of flatmap
  • Loading branch information
ni-ze authored Feb 16, 2023
2 parents 9bff38e + a256c96 commit ecf01cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public interface RStream<T> {

<O> RStream<O> map(ValueMapperAction<T, O> mapperAction);

<VR> RStream<T> flatMap(final ValueMapperAction<T, ? extends Iterable<? extends VR>> mapper);
<VR> RStream<VR> flatMap(final ValueMapperAction<T, ? extends Iterable<? extends VR>> mapper);

RStream<T> filter(FilterAction<T> predictor);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public <O> RStream<O> map(ValueMapperAction<T, O> mapperAction) {
}

@Override
public <VR> RStream<T> flatMap(ValueMapperAction<T, ? extends Iterable<? extends VR>> mapper) {
public <VR> RStream<VR> flatMap(ValueMapperAction<T, ? extends Iterable<? extends VR>> mapper) {
String name = OperatorNameMaker.makeName(FLAT_MAP_PREFIX, pipeline.getJobId());

MultiValueChangeSupplier<T, VR> changeSupplier = new MultiValueChangeSupplier<>(mapper);
Expand Down

0 comments on commit ecf01cf

Please sign in to comment.