Skip to content

Commit

Permalink
Remove concat implementation (#29)
Browse files Browse the repository at this point in the history
+ The JDK has this, and concatenating multiple streams is not enough of a difference to keep this.
  • Loading branch information
tginsberg authored Sep 23, 2024
1 parent c451c10 commit 1fc1be7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 173 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 0.4.0
+ Remove `concat` implementation (the JDK has this)

### 0.3.0
+ Move minimum Java version from 22 to 23

Expand Down
68 changes: 0 additions & 68 deletions src/main/java/com/ginsberg/gatherers4j/ConcatenationGatherer.java

This file was deleted.

9 changes: 0 additions & 9 deletions src/main/java/com/ginsberg/gatherers4j/Gatherers4j.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@

public class Gatherers4j {

/**
* Concatenate the given <code>Stream&lt;INPUT&gt;</code> to the end of the current stream, in order.
*
* @param concatThis A non-null <code>Stream&lt;INPUT&gt;</code> instance to concatenate.
*/
public static <INPUT> ConcatenationGatherer<INPUT> concat(final Stream<INPUT> concatThis) {
return new ConcatenationGatherer<>(concatThis);
}

/**
* Limit the number of elements in the stream to some number per period, dropping anything over the
* limit during the period.
Expand Down

This file was deleted.

0 comments on commit 1fc1be7

Please sign in to comment.