Let’s Stream a Map in Java 8 with jOOλ

I wanted to find an easy way to stream a Map in Java 8. Guess what? There isn't! What I would've expected for convenience is the following method: public interface Map<K, V> { default Stream<Entry<K, V>> stream() { return entrySet().stream(); } } But there's no such method. There are probably a variety of reasons why … Continue reading Let’s Stream a Map in Java 8 with jOOλ

Java 8 Friday Goodies: Map Enhancements

At Data Geekery, we love Java. And as we're really into jOOQ's fluent API and query DSL, we're absolutely thrilled about what Java 8 will bring to our ecosystem. We have blogged a couple of times about some nice Java 8 goodies, and now we feel it's time to start a new blog series, the... … Continue reading Java 8 Friday Goodies: Map Enhancements