Package | Description |
---|---|
javolution.util |
High-performance collection classes with
guaranteed worst case execution time . |
javolution.util.function |
Basic functions for lambda expressions and method references.
|
Modifier and Type | Method and Description |
---|---|
E |
FastCollection.reduce(CollectionOperator<? super E> operator)
Performs a reduction of the elements of this collection using the
specified operator (convenience method).
|
Modifier and Type | Field and Description |
---|---|
static CollectionOperator<Boolean> |
Operators.AND
Conditional 'and' operator (returns
true if the collection is
empty). |
static CollectionOperator<Object> |
Operators.ANY
Returns any non-null element.
|
static CollectionOperator<Object> |
Operators.MAX
Returns the greatest element of a collection according to the collection
comparator (returns
null if the collection is empty). |
static CollectionOperator<Object> |
Operators.MIN
Returns the smallest element of a collection according to the collection
comparator (returns
null if the collection is empty). |
static CollectionOperator<Boolean> |
Operators.OR
Conditional 'or' operator (returns
false if the collection is
empty). |
static CollectionOperator<Integer> |
Operators.SUM
Returns the sum of the specified integers value (returns
0
if the collection is empty). |
Copyright © 2005-2013 Javolution. All Rights Reserved.