Implementing more Java 8 Streaming API