Implementation of efficient graph algorithms in Java 8..