| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final long | |
| pack-priv final Comparator | |
| pack-priv final Partition | |
| pack-priv final long | |
| pack-priv final Tuple2 |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | allMatch(Predicate<? super T> predicate)
Implements org. Whether all elements in the collectable match a given predicate. |
| public boolean | anyMatch(Predicate<? super T> predicate)
Implements org. Whether any element in the collectable matches a given predicate. |
| public Optional | avg()
Implements org. Get the average of the elements in this collectable. |
| public <U> Optional | avg(Function<? super T, ? extends U> function)
Implements org. Get the average of the elements in this collectable. |
| public double | avgDouble(ToDoubleFunction<? super T> function)
Implements org. Get the average of the elements in this collectable as |
| public double | avgInt(ToIntFunction<? super T> function)
Implements org. Get the average of the elements in this collectable as |
| public double | avgLong(ToLongFunction<? super T> function)
Implements org. Get the average of the elements in this collectable as |
| public Optional | bitAnd()
Implements org. Collect all bits in this stream into a single value by applying bitwise and. |
| public <U> Optional | bitAnd(Function<? super T, ? extends U> function)
Implements org. Collect all bits in this stream into a single value by applying bitwise and. |
| public int | bitAndInt(ToIntFunction<? super T> function)
Implements org. Collect all bits in this stream into a single value by applying bitwise and. |
| public long | bitAndLong(ToLongFunction<? super T> function)
Implements org. Collect all bits in this stream into a single value by applying bitwise and. |
| public Optional | bitOr()
Implements org. Collect all bits in this stream into a single value by applying bitwise or. |
| public <U> Optional | bitOr(Function<? super T, ? extends U> function)
Implements org. Collect all bits in this stream into a single value by applying bitwise or. |
| public int | bitOrInt(ToIntFunction<? super T> function)
Implements org. Collect all bits in this stream into a single value by applying bitwise or. |
| public long | bitOrLong(ToLongFunction<? super T> function)
Implements org. Collect all bits in this stream into a single value by applying bitwise or. |
| public <R, A> R | collect(Collector<? super T, A, R> collector)
Implements org. Collect this collectable. |
| public String | commonPrefix()
Implements org. Get the common prefix of all strings (or to-stringed values) in this stream. |
| public String | commonSuffix()
Implements org. Get the common prefix of all strings (or to-stringed values) in this stream. |
| private boolean | |
| public long | |
| public long | count(Predicate<? super T> predicate)
Implements org. Count the values in this collectable, for which a predicate evaluates to true. |
| public long | countDistinct()
Implements org. Count the distinct values in this collectable. |
| public long | countDistinct(Predicate<? super T> predicate)
Implements org. Count the distinct values in this collectable, for which a predicate evaluates to true. |
| public <U> long | countDistinctBy(Function<? super T, ? extends U> function)
Implements org. Count the distinct values of a given expression in this collectable. |
| public <U> long | countDistinctBy(Function<? super T, ? extends U> function, Predicate<? super U> predicate)
Implements org. Count the distinct values of a given expression in this collectable, for which a predicate evaluates to true. |
| public long | denseRank()
Implements org. The dense rank of the current row within the partition. |
| public Optional | |
| public <U> Optional | firstValue(Function<? super T, ? extends U> function)
Implements org. The first value in the window. |
| public Optional | |
| public Optional | |
| public Optional | |
| public <U> Optional | lastValue(Function<? super T, ? extends U> function)
Implements org. The last value in the window. |
| public Optional | |
| public Optional | |
| private Optional | |
| private int | |
| private boolean | |
| public Optional | |
| public Optional | max(Comparator<? super T> comparator)
Implements org. Get the maximum value by a function. |
| public <U extends Comparable | max(Function<? super T, ? extends U> function)
Implements org. Get the maximum value by a function. |
| public <U> Optional | max(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the maximum value by a function. |
| public Seq | |
| public Seq | maxAll(Comparator<? super T> comparator)
Implements org. Get the maximum values by a function. |
| public <U extends Comparable | maxAll(Function<? super T, ? extends U> function)
Implements org. Get the maximum values by a function. |
| public <U> Seq | maxAll(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the maximum values by a function. |
| public <U extends Comparable | maxAllBy(Function<? super T, ? extends U> function)
Implements org. Get the maximum values by a function. |
| public <U> Seq | maxAllBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the maximum values by a function. |
| public <U extends Comparable | maxBy(Function<? super T, ? extends U> function)
Implements org. Get the maximum value by a function. |
| public <U> Optional | maxBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the maximum value by a function. |
| public Optional | |
| public Optional | median(Comparator<? super T> comparator)
Implements org. Get the median value. |
| public <U extends Comparable | medianBy(Function<? super T, ? extends U> function)
Implements org. Get the median value by a function. |
| public <U> Optional | medianBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the median value by a function. |
| public Optional | |
| public Optional | min(Comparator<? super T> comparator)
Implements org. Get the minimum value by a function. |
| public <U extends Comparable | min(Function<? super T, ? extends U> function)
Implements org. Get the minimum value by a function. |
| public <U> Optional | min(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the minimum value by a function. |
| public Seq | |
| public Seq | minAll(Comparator<? super T> comparator)
Implements org. Get the minimum values by a function. |
| public <U extends Comparable | minAll(Function<? super T, ? extends U> function)
Implements org. Get the minimum values by a function. |
| public <U> Seq | minAll(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the minimum values by a function. |
| public <U extends Comparable | minAllBy(Function<? super T, ? extends U> function)
Implements org. Get the minimum values by a function. |
| public <U> Seq | minAllBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the minimum values by a function. |
| public <U extends Comparable | minBy(Function<? super T, ? extends U> function)
Implements org. Get the minimum value by a function. |
| public <U> Optional | minBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the minimum value by a function. |
| public Optional | mode()
Implements org. Get the mode, i.e. the value that appears most often in the collectable. |
| public Seq | modeAll()
Implements org. Get the mode, i.e. the values that appear most often in the collectable. |
| public <U> Seq | modeAllBy(Function<? super T, ? extends U> function)
Implements org. Get the mode, i.e. the values that appear most often in the collectable. |
| public <U> Optional | modeBy(Function<? super T, ? extends U> function)
Implements org. Get the mode, i.e. the value that appears most often in the collectable. |
| public boolean | noneMatch(Predicate<? super T> predicate)
Implements org. Whether no element in the collectable matches a given predicate. |
| public Optional | |
| public <U> Optional | nthValue(long n, Function<? super T, ? extends U> function)
Implements org. The nth value in the window. |
| public long | ntile(long bucket)
Implements org. The bucket number ("ntile") of the current row within the partition. |
| public Optional | percentile(double percentile)
Implements org. Get the discrete percentile value. |
| public Optional | percentile(double percentile, Comparator<? super T> comparator)
Implements org. Get the discrete percentile value. |
| public <U extends Comparable | percentileBy(double percentile, Function<? super T, ? extends U> function)
Implements org. Get the discrete percentile value by a function. |
| public <U> Optional | percentileBy(double percentile, Function<? super T, ? extends U> function, Comparator<? super U> comparator)
Implements org. Get the discrete percentile value by a function. |
| public double | percentRank()
Implements org. The precent rank of the current row within the partition. |
| public long | |
| public long | rowNumber()
Implements org. The row number of the current row within the partition. |
| public Optional | |
| public <U> Optional | sum(Function<? super T, ? extends U> function)
Implements org. Get the sum of the elements in this collectable. |
| public double | sumDouble(ToDoubleFunction<? super T> function)
Implements org. Get the sum of the elements in this collectable as |
| public int | sumInt(ToIntFunction<? super T> function)
Implements org. Get the sum of the elements in this collectable as |
| public long | sumLong(ToLongFunction<? super T> function)
Implements org. Get the sum of the elements in this collectable as |
| public <C extends Collection | toCollection(Supplier<C> factory)
Implements org. Collect the collectable into a |
| public List | |
| public <L extends List | toList(Supplier<L> factory)
Implements org. Collect the collectable into a |
| public <K, V> Map | toMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends V> valueMapper)
Implements org. Collect the collectable into a |
| public <K> Map | toMap(Function<? super T, ? extends K> keyMapper)
Implements org. Collect the collectable into a |
| public Set | |
| public <S extends Set | toSet(Supplier<S> factory)
Implements org. Collect the collectable into a |
| public String | |
| public String | toString(CharSequence delimiter)
Implements org. Consume a stream and concatenate all elements using a separator. |
| public String | toString(CharSequence delimiter, CharSequence prefix, CharSequence suffix)
Implements org. Shortcut for calling |
| public List | toUnmodifiableList()
Implements org. Collect the collectable into an unmodifiable |
| public Set | toUnmodifiableSet()
Implements org. Collect the collectable into an unmodifiable |
| private int | |
| private boolean | |
| public T | |
| public Seq |