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