akarnokd / ixjava Goto Github PK
View Code? Open in Web Editor NEWIterable Extensions for Java 6+
License: Apache License 2.0
Iterable Extensions for Java 6+
License: Apache License 2.0
IxJava is a bit behind some operators. This issue will collect these into a checklist:
concatMap
subscribe(Action1)
- alternative to forEach
due to name conflict in Java 8subscribe(Observer)
- to feed a regular Observer
with the same naming patternMy use case is as follow:
A collection of Box as source: boxes.
There are red boxes and blue boxes in source.
Once I "press the button" (start the stream), it will split the boxes into 2 lists by box's color, and I could subscribe to the value contain both of them.
My imagine is as follow (seudo):
Ix.from(source)
.split((predicate) -> predicate.apply(box) /* return true if box is red, false otherwise*/)
.subscribe((redBoxes, blueBoxes) -> { /* do something, maybe share them with friends */})
How can I archive this behaviour with your current implementation? If it is not possible now, any opinion on why and how?
P/S: I know about the "except" operator. But it ends up creating extra Collection which I want to avoid.
Thanks.
It looks like there is skipLast method only.
It is on purpose?
Hello @akarnokd ,
I don't grok it (immediately)... what about a small code example on "page 1" (README.md)
Thanks and best regards from Switzerland,
Peti
Eclipse and GWT compilers are unable to resolve the inferred type arguments in the bodies of Ix.toMap
and Ix.toMultimap
methods.
Can this be moved under the ReactiveX umbrella? Also Reactor can make do with a similar API.
I think the keywords while and until in the first paragraphs in the javadoc method comments for those two methods are swapped with each other. The rest of the javadoc comments seems to be ok.
The workflow gradle-wrapper-validation.yml is referencing action gradle/wrapper-validation-action using references v1. However this reference is missing the commit 89eda1fdc0167f59521d2bb10767f7169fb4d018 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.