Lazy sequences implementation for Java 8