Google Guava (Java Library)

  • RangeMap

Guide to Guava RangeMap
Guava & Java 8

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>santa</groupId>
    <artifactId>SantaJava</artifactId>
    <version>1.0-SNAPSHOT</version>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>27.0.1-jre</version>
        </dependency>
    </dependencies>
</project>

Java 8 Lambda Expression, Streams and Functional-style Programming

Java 8 Advanced Streams
Processing Data with Java SE 8 Streams, Part 1
Part 2: Processing Data with Java SE 8 Streams
Java 8 Friday: Java 8 Will Revolutionize Database Access
Java 8 Stream Tutorial
The Java 8 Stream API Tutorial
Reverse a comparator in Java 8

Stream map() in Java with examples

Wikipedia

Monade (Informatik)
Funktor (Logik)

Array to Stream

Java-8: boolean primitive array to stream?
Converting array to list in Java
Count booleans in list
Java Lambda Stream group By and summing integer values/average
Find Sum and Average in a Java Array
How do you find the sum of all the numbers in an array in Java?

Angelika Langer

Übersicht über das Stream API in Java 8
Stream-Erzeugung und Stream-Operationen
Stream-Kollektoren und die Stream-Operation collect()

Creating a custom Collector

Guide to Java 8’s Collectors
Java 8: Creating a custom Collector for your Stream
Custom collectors for better performance
Introduction to writing custom collectors in Java 8
Custom collectors in Java 8

JavaDoc

Package java.util.stream

Java 8 MultiMap

Allowing Duplicate Keys in Java Collections
Do it yourself Multi Value Map with Java 8
How to Store Duplicate Keys in a Map in Java?
Use Duplicate Keys in a Map with Multimap from Google Guava
Why HashMap not allowing duplicate keys? How it is stored?

org.apache.commons.collections4.SetValuedMap
org.apache.commons.collections4.multimap.HashSetValuedHashMap
com.google.common.collect.HashMultimap
org.eclipse.collections.api.multimap.set.MutableSetMultimap
org.springframework.util.MultiValueMap