public class Stream extends Object
Modifier and Type | Method and Description |
---|---|
Optional |
allMatch(LambdaExpression le) |
Optional |
anyMatch(LambdaExpression le) |
Optional |
average() |
Long |
count() |
Stream |
distinct() |
Stream |
filter(LambdaExpression le) |
Optional |
findFirst() |
Stream |
flatMap(LambdaExpression le) |
Object |
forEach(LambdaExpression le) |
Iterator<?> |
iterator() |
Stream |
limit(Number count) |
Stream |
map(LambdaExpression le) |
Optional |
max() |
Optional |
max(LambdaExpression le) |
Optional |
min() |
Optional |
min(LambdaExpression le) |
Optional |
noneMatch(LambdaExpression le) |
Stream |
peek(LambdaExpression le) |
Optional |
reduce(LambdaExpression le) |
Object |
reduce(Object seed,
LambdaExpression le) |
Stream |
sorted() |
Stream |
sorted(LambdaExpression le) |
Stream |
substream(Number start) |
Stream |
substream(Number start,
Number end) |
Number |
sum() |
Object[] |
toArray() |
List<Object> |
toList() |
public Stream filter(LambdaExpression le)
public Stream map(LambdaExpression le)
public Stream flatMap(LambdaExpression le)
public Stream distinct()
public Stream sorted()
public Stream sorted(LambdaExpression le)
public Object forEach(LambdaExpression le)
public Stream peek(LambdaExpression le)
public Iterator<?> iterator()
public Object[] toArray()
public Optional reduce(LambdaExpression le)
public Object reduce(Object seed, LambdaExpression le)
public Optional max()
public Optional max(LambdaExpression le)
public Optional min()
public Optional min(LambdaExpression le)
public Optional average()
public Number sum()
public Long count()
public Optional anyMatch(LambdaExpression le)
public Optional allMatch(LambdaExpression le)
public Optional noneMatch(LambdaExpression le)
public Optional findFirst()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.