Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 793 Bytes

README.md

File metadata and controls

33 lines (18 loc) · 793 Bytes

ouertanitee

#Introduction

This is a basic implementation of iteratee using jdk8.

Some features are not full complete, but it's the first version. #Usage

  • Implement an Iteratee

      public interface Iteratee<E, A> {
    
      	<B> CompletableFuture<B> handle(Function<Iteratee<E, A>, CompletableFuture<B>> step);
      }	
    
  • Run it using Enumerator (optional)

      default <B> Input<B> run(Iteratee<E, B> it) 
    

#Examples

*SumIteratee

*MaxIteratee

Please refer to test cases for more details.

Roadmap

Enumeratee,Stream, Generics...