Replaced Java 8 Streams