Seq-for-Java8
========================================

Seq-for-Java8 - the library of sequencial containers which is neither Collection nor Stream


Description
--------------------

Sequences in Seq-for-Java8 are sequencial containers with few functional methods.

These interfaces have been chosen with reference to Streams in java.util.stream and Seq in Scala.
However, Sequences are immutable and stateless.


Examples
--------------------

```
// import net.argius.java8.seq.Sequence;
Sequence<String> seq = Sequence.of("ant", "bean", "coffee");
List<String> list = seq.filter(x -> !x.equals("ant")).reverse().toList();
// => [coffee, bean]

// import static net.argius.java8.seq.IntSequence.seq;
double average = seq(-100, 13, 25, 8, 1).drop(1).average();
// => 11.75
```


License
--------------------

Apache License 2.0

Seq-for-Java8 [![Build Status](https://travis-ci.org/argius/seq-for-java8.png)](https://travis-ci.org/argius/seq-for-java8)
========================================

Seq-for-Java8 - the library of sequencial containers which is neither Collection nor Stream


Description
--------------------

Sequences in Seq-for-Java8 are sequencial containers with few functional methods.

These interfaces have been chosen with reference to Streams in java.util.stream and Seq in Scala.
However, Sequences are immutable and stateless.


Examples
--------------------

```
// import net.argius.java8.seq.Sequence;
Sequence<String> seq = Sequence.of("ant", "bean", "coffee");
List<String> list = seq.filter(x -> !x.equals("ant")).reverse().toList();
// => [coffee, bean]

// import static net.argius.java8.seq.IntSequence.seq;
double average = seq(-100, 13, 25, 8, 1).drop(1).average();
// => 11.75
```


License
--------------------

Apache License 2.0

Set up Travis build status
Set up Travis build status