Tagir Valeev
Tagir Valeev
In some scenarios fastutil collections could often be empty. In this case, it's desired to optimize toIntArray(), etc. to avoid allocation of a new array and iterator instantiation. These allocations...
### Scenario * JaCoCo version: 0.8.4.201905082037 * Tool integration: Maven * Description of your use case: my build has several output directories (namely target/classes and target/classes-9) because I use [multirelease...
OptionalCollector is the collector specialization which return type is `Optional` and it has methods which mimic the optional behavior (like `orElse`, `orElseGet`, `get`, `map`, `filter`, etc.). Should support both short-circuiting...
It's possible to change some `StreamEx` method signatures to avoid explicit boxing call for parameter: ``` append(Stream) prepend(Stream) [Implemented] zipWith(Stream[, BiFunction]) -> zipWith(BaseStream[, BiFunction]) headTail(BiFunction>) headTail(BiFunction> mapper, Supplier> supplier) ```...
A custom delimiter could be specified to format more user-friendly messages like this: ``` StreamEx.of("Red", "Green", "Blue", "Black").collect( Joining.with(", ").lastDelimiter(" or ")); // Produces "Red, Green, Blue or Black" ```...
There's an idea for fluent CollectorBuilder which is similar to Stream API itself. Along with `OptionalCollector` (see #87) it makes complex nested collectors easier to read: ``` Map res =...
The `withFirst()` method could be implemented for primitive streams with `IntBinaryOperation`, `LongBinaryOperation` and `DoubleBinaryOperation` argument respectively. Should be implemented after #67. - [ ] Implementation - [ ] Tests -...
Requested [here](https://github.com/amaembo/amaembo.github.io/issues/1) by @AgnetaWalterscheidt: I would like to implement a new method in `StreamEx` (or `AbstractStreamEx`): ``` public StreamEx skipSorted(int n, Comparator
There's repeating requests to add a partitioning of the stream to the fixed size batches. See, for example, [this question](http://stackoverflow.com/a/32435407/4856258). Some problems can be solved using `StreamEx.ofSubLists`, but sometimes the...
The following enhancements could be implemented for Joining collector in future versions: - [ ] Limit length by custom user function (which probably computes the rendered string width in the...