|
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
Functions.Predicate which returns true if all of the supplied Predicates are true.
BinaryPredicate which returns the logical AND of two other BinaryPredicate.
Predicate which returns the logical AND of two other Predicate.
Predicate which returns true if any one of the supplied Predicates are true.
Function which will call a method on the
object passed as the argument to Function.fn method.
BinaryFunction is some function taking two arguments -
fn(T1 x, T2 y).BinaryFunction is some function taking two arguments -
fn(T1 x, T2 y).BinaryPredicate is some function taking two arguments -
fn(x, y) and returning the result of some test.BinaryPredicate is some function taking two arguments -
fn(x, y) and returning the result of some test.BoundedIterator enumerates of a subset of a collection, in the
range [start, end).
ChainIterator creates an iterator which will traverse
each of the iterables in turn.
BinaryPredicate which returns a precomputed constant value
Predicate which returns a precomputed constant value
Count computes the number of elements in the sequence that
are equal to value.
CountIf is similar to Count, but more general.
CountIfNot is the complement of CountIf.
BinaryPredicate testing for equality.
BinaryPredicates that always returns false
Predicate which always returns false
true.
false.
BinaryFunction into a Function.
BinaryPredicate to a Predicate.
fn to
each element in the iterator sequence.
Function describes a function which takes one argument
- fn(x).Function describes a function which takes one argument
- fn(x).Generator describes a function which takes no arguments
fn().GeneratorIterator puts an iterator face onto a
Generator object.
Generator describes a function which takes no arguments
fn().BinaryPredicate that returns true if x is greater than y.
BinaryPredicate that returns true if x is greater than or equal to y.
Predicate which checks whether the passed object
reference is null.
BinaryPredicate that returns true if x is less than y.
BinaryPredicate that returns true if x is less than or equal to y.
List<String> list = Collections.list("fish", "prod", "nose");
is equivalent to
List<String> list = new ArrayList<String>();
list.add("fish");
list.add("prod");
list.add("nose");
- list(Iterator<T>) -
Static method in class uk.co.jezuk.mango.Collections
-
- list(Collection<T>) -
Static method in class uk.co.jezuk.mango.Collections
-
Function objects, allowing them
to be passed to algorithms.
Function objects, allowing them
to be passed to algorithms.
Predicate which returns the logical NAND of two other Predicate.
Predicate which returns the logical NOR of two other Predicate.
BinaryPredicate which is the logical negation of some other BinaryPredicate.
Predicate which is the logical negation of some other Predicate.
true if not(x.equals(y)), (x == null) && not(y == null) or not(x == null) && (y == null)
Predicate which checks whether the passed object
reference is not null.
NullIterator iterates over nothing.
Predicate which returns true if only one of the supplied Predicates is true.
BinaryPredicate which returns the logical OR of two other BinaryPredicate.
Predicate which returns the logical OR of two other Predicate.
Predicate is a special form of a Function,
whose result represents the truth or otherwise of some condition.Predicate is a special form of a Function,
whose result represents the truth or otherwise of some condition.value from the sequence.
test from the sequence.
ReverseIterator traverses a list from the end to the beginning, rather than the conventional
beginning to end traversal your normal every day iterator performs.
BinaryFunction into a Function.
BinaryPredicate to a Predicate.
SelectingIterator enumerates only those elements of a collection
that match the supplied Predicate.
SkippingIterator enumerates a sequence,
stepping over the elements
that match the supplied Predicate.
StringIterator iterators over a String, returning each
character in turn as a String of length 1.
TeeIterator creates any number of copies of an iterator,
each of which can be iterated seperately.
fn to
each element in the iterator sequence.
TransfromIterator applies a Function to
each element in the sequence, returning the the function result at each step.
BinaryPredicates that always returns true
Predicate which always returns true
Predicate which returns the logical XNOR of two other Predicate.
Predicate which returns the logical XOR of two other Predicate.
|
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||