Joink is a library for joining together collections of Java 8 objects in memory.
Here’s what that looks like:
@Test public void
List<Tuple2<Author, Set<Book>>> joined = Joins.join(Arrays.stream(authors))
Tuple2.of(badiou, books(beingAndEvent, logicsOfWorlds, theoryOfTheSubject)),
Tuple2.of(derrida, books(ofGrammatology, spectresOfMarx)),
Tuple2.of(deleuzeAndGuattari, books(antiOedipus, aThousandPlateaus)),
Currently supported: inner, outer, left-outer and right-outer joins, as well as many-to-one, one-to-many and one-to-one joins (“strict”, which enforces uniqueness, and non-strict which doesn’t).
Soon to come: Octarine integration.