A B C E F G I L M N O P R S T U

A

Adapt - class uk.co.jezuk.mango.Adapt.
Object method adaptors.
Algorithms - class uk.co.jezuk.mango.Algorithms.
The Mango Algorithms Library.
And(Predicate, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A Predicate which returns the logical AND of two other Predicate.
And(BinaryPredicate, BinaryPredicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A BinaryPredicate which returns the logical AND of two other BinaryPredicate.
And(Predicate, Predicate) - Static method in class uk.co.jezuk.mango.Predicates
A Predicate which returns the logical AND of two other Predicate.
And(BinaryPredicate, BinaryPredicate) - Static method in class uk.co.jezuk.mango.Predicates
A BinaryPredicate which returns the logical AND of two other BinaryPredicate.
ArgumentMethod(String) - Static method in class uk.co.jezuk.mango.Adapt
Creates a UnaryFunction which will call a method on the object passed as the argument to UnaryFunction.fn method.
ArrayIterator(Object[]) - Static method in class uk.co.jezuk.mango.Iterators
Iterates over an array of objects.
ArrayIterator(Object[]) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Iterates over an array of objects.

B

BinaryFunction - interface uk.co.jezuk.mango.BinaryFunction.
A BinaryFunction is some function taking two arguments - fn(x, y).
BinaryPredicate - interface uk.co.jezuk.mango.BinaryPredicate.
A BinaryPredicate is some function taking two arguments - fn(x, y) and returning the result of some test.
Bind - class uk.co.jezuk.mango.Bind.
Function and Predicate binding adaptors.
BoundedIterator(Iterator, int, int) - Static method in class uk.co.jezuk.mango.Iterators
A BoundedIterator enumerates of a subset of a collection, in the range [start, end).
BoundedIterator(List, int, int) - Static method in class uk.co.jezuk.mango.Iterators
 
BoundedIterator(Iterator, int, int) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A BoundedIterator enumerates of a subset of a collection, in the range [start, end).
BoundedIterator(List, int, int) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  

C

Compose(UnaryFunction, UnaryFunction) - Static method in class uk.co.jezuk.mango.Adapt
Compose is a unary function adaptor.
Compose(BinaryFunction, UnaryFunction, UnaryFunction) - Static method in class uk.co.jezuk.mango.Adapt
Compose is a function adaptor.
count(Collection, Object) - Static method in class uk.co.jezuk.mango.Algorithms
Count computes the number of elements in the sequence that are equal to value.
count(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
count(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
count(Iterator, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
count(Collection, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Count computes the number of elements in the sequence that are equal to value.
count(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
count(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
count(Iterator, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
countIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
CountIf is similar to Count, but more general.
countIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
countIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
countIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
countIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. CountIf is similar to Count, but more general.
countIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
countIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
countIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
countIfNot(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
CountIfNot is the complement of CountIf.
countIfNot(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
countIfNot(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
countIfNot(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 

E

EqualTo() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. BinaryPredicate testing for equality.
EqualTo() - Static method in class uk.co.jezuk.mango.Predicates
BinaryPredicate testing for equality.

F

False() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A Predicate which always returns false
False() - Static method in class uk.co.jezuk.mango.Predicates
A Predicate which always returns false
First(BinaryFunction, Object) - Static method in class uk.co.jezuk.mango.Bind
Adapts a BinaryFunction into a UnaryFunction.
First(BinaryPredicate, Object) - Static method in class uk.co.jezuk.mango.Bind
Special case which adapts a BinaryPredicate to a Predicate.
Functions - class uk.co.jezuk.mango.Functions.
The Mango Library Unary and Binary Functions
Functions() - Constructor for class uk.co.jezuk.mango.Functions
 
find(Collection, Object) - Static method in class uk.co.jezuk.mango.Algorithms
Searchs the sequence travesed by the Iterator for the given value.
find(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
find(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
find(Iterator, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
find(Collection, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Searchs the sequence travesed by the Iterator for the given value.
find(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
find(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
find(Iterator, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
findIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
Searchs the sequence traversed by the Iterator and returns the first object encountered for which the Predicate returns true.
findIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Searchs the sequence traversed by the Iterator and returns the first object encountered for which the Predicate returns true.
findIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
findIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
findIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
findIfNot(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
Searchs the sequence traversed by the Iterator and returns the first object encountered for which the Predicate returns false.
findIfNot(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findIfNot(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findIfNot(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPosition(Collection, Object) - Static method in class uk.co.jezuk.mango.Algorithms
Searchs the sequence travesed by the Iterator for the given value.
findPosition(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPosition(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPosition(Iterator, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPositionIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPositionIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPositionIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
findPositionIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
first - Variable in class uk.co.jezuk.mango.Pair
 
first - Variable in class uk.co.jezuk.mango.Triplet
 
fn(Object, Object) - Method in interface uk.co.jezuk.mango.BinaryFunction
 
fn() - Method in interface uk.co.jezuk.mango.Generator
 
fn(Object) - Method in interface uk.co.jezuk.mango.UnaryFunction
 
forEach(Collection, UnaryFunction) - Static method in class uk.co.jezuk.mango.Algorithms
The algorithm ForEach applies the function fn to each element in the iterator sequence.
forEach(Collection, int, int, UnaryFunction) - Static method in class uk.co.jezuk.mango.Algorithms
 
forEach(List, int, int, UnaryFunction) - Static method in class uk.co.jezuk.mango.Algorithms
 
forEach(Iterator, UnaryFunction) - Static method in class uk.co.jezuk.mango.Algorithms
 
forEach(Collection, UnaryFunction) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. The algorithm ForEach applies the function fn to each element in the iterator sequence.
forEach(Collection, int, int, UnaryFunction) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
forEach(List, int, int, UnaryFunction) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
forEach(Iterator, UnaryFunction) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  

G

Generator - interface uk.co.jezuk.mango.Generator.
A Generator describes a function which takes no arguments - fn().
Generators - class uk.co.jezuk.mango.Generators.
The Mango Library Generators Library.
Generators() - Constructor for class uk.co.jezuk.mango.Generators
 
GreaterThan() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. BinaryPredicate that returns true if x is greater than y.
GreaterThan() - Static method in class uk.co.jezuk.mango.Predicates
BinaryPredicate that returns true if x is greater than y.
GreaterThanEquals() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. BinaryPredicate that returns true if x is greater than or equal to y.
GreaterThanEquals() - Static method in class uk.co.jezuk.mango.Predicates
BinaryPredicate that returns true if x is greater than or equal to y.

I

Identity() - Static method in class uk.co.jezuk.mango.Functions
The identity function.
IntegerSequence() - Static method in class uk.co.jezuk.mango.Generators
Returns Integer(seed), Integer(seed+1), Integer(seed+2) ...
IntegerSequence(int) - Static method in class uk.co.jezuk.mango.Generators
 
IntegerSequence(Integer) - Static method in class uk.co.jezuk.mango.Generators
 
Iterators - class uk.co.jezuk.mango.Iterators.
The Mango Library Iterator classes.
intersection(Collection, Collection, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
Algorithm intersection finds the common elements in both collections See http://en.wikipedia.org/wiki/Intersection_(set_theory)
intersection(Iterator, Collection, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
intersection(Iterator, Iterator, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 

L

LessThan() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. BinaryPredicate that returns true if x is less than y.
LessThan() - Static method in class uk.co.jezuk.mango.Predicates
BinaryPredicate that returns true if x is less than y.
LessThanEquals() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. BinaryPredicate that returns true if x is less than or equal to y.
LessThanEquals() - Static method in class uk.co.jezuk.mango.Predicates
BinaryPredicate that returns true if x is less than or equal to y.

M

Mango - class uk.co.jezuk.mango.Mango.
Deprecated. see Algorithms, Iterators, Predicates
Method(Object, String) - Static method in class uk.co.jezuk.mango.Adapt
Adapts member functions as UnaryFunction objects, allowing them to be passed to algorithms.
Method(Class, String) - Static method in class uk.co.jezuk.mango.Adapt
Adapts static member functions as UnaryFunction objects, allowing them to be passed to algorithms.

N

Not(Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A Predicate which is the logical negation of some other Predicate.
Not(BinaryPredicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A BinaryPredicate which is the logical negation of some other BinaryPredicate.
Not(Predicate) - Static method in class uk.co.jezuk.mango.Predicates
A Predicate which is the logical negation of some other Predicate.
Not(BinaryPredicate) - Static method in class uk.co.jezuk.mango.Predicates
A BinaryPredicate which is the logical negation of some other BinaryPredicate.
NotEqualTo() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. true if not(x.equals(y)), (x == null) && not(y == null) or not(x == null) && (y == null)
NotEqualTo() - Static method in class uk.co.jezuk.mango.Predicates
true if not(x.equals(y)), (x == null) && not(y == null) or not(x == null) && (y == null)
NullIterator() - Static method in class uk.co.jezuk.mango.Iterators
A NullIterator iterates over nothing.

O

Or(Predicate, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A Predicate which returns the logical OR of two other Predicate.
Or(BinaryPredicate, BinaryPredicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A BinaryPredicate which returns the logical OR of two other BinaryPredicate.
Or(Predicate, Predicate) - Static method in class uk.co.jezuk.mango.Predicates
A Predicate which returns the logical OR of two other Predicate.
Or(BinaryPredicate, BinaryPredicate) - Static method in class uk.co.jezuk.mango.Predicates
A BinaryPredicate which returns the logical OR of two other BinaryPredicate.

P

Pair - class uk.co.jezuk.mango.Pair.
A Pair holds two Objects.
Pair() - Constructor for class uk.co.jezuk.mango.Pair
 
Pair(Object, Object) - Constructor for class uk.co.jezuk.mango.Pair
 
Predicate - interface uk.co.jezuk.mango.Predicate.
A Predicate is a special form of a UnaryFunction, whose result represents the truth or otherwise of some condition.
PredicatedIterator(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Iterators
Deprecated. see Iterators.SelectingIterator(java.util.Iterator, uk.co.jezuk.mango.Predicate)
PredicatedIterator(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A PredicatedIterator enumerates only those elements of a collection that match the supplied Predicate.
Predicates - class uk.co.jezuk.mango.Predicates.
The Mango Library Unary and Binary Predicates
partition(Collection, Predicate, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
Partitions the supplied collections into two.
partition(Collection, int, int, Predicate, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
partition(List, int, int, Predicate, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
partition(Iterator, Predicate, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 

R

ReverseIterator(List) - Static method in class uk.co.jezuk.mango.Iterators
A ReverseIterator traverses a list from the end to the beginning, rather than the conventional beginning to end traversal your normal every day iterator performs.
remove(Collection, Object) - Static method in class uk.co.jezuk.mango.Algorithms
Removes objects equal to value from the sequence.
remove(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
remove(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
remove(Iterator, Object) - Static method in class uk.co.jezuk.mango.Algorithms
 
remove(Collection, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Removes objects equal to value from the sequence.
remove(Collection, int, int, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
remove(List, int, int, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
remove(Iterator, Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
removeIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
Removes objects which match test from the sequence.
removeIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
removeIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
removeIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Algorithms
 
removeIf(Collection, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Removes objects which match test from the sequence.
removeIf(Collection, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
removeIf(List, int, int, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
removeIf(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  

S

Second(BinaryFunction, Object) - Static method in class uk.co.jezuk.mango.Bind
Adapts a BinaryFunction into a UnaryFunction.
Second(BinaryPredicate, Object) - Static method in class uk.co.jezuk.mango.Bind
Special case which adapts a BinaryPredicate to a Predicate.
SelectingIterator(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Iterators
A SelectingIterator enumerates only those elements of a collection that match the supplied Predicate.
SingletonIterator(Object) - Static method in class uk.co.jezuk.mango.Iterators
Iterates over a single object.
SingletonIterator(Object) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. Iterates over a single object.
SkippingIterator(Iterator, Predicate) - Static method in class uk.co.jezuk.mango.Iterators
A SkippingIterator enumerates a sequence, stepping over the elements that match the supplied Predicate.
StringIterator(String) - Static method in class uk.co.jezuk.mango.Iterators
A StringIterator iterators over a String, returning each character in turn as a String of length 1.
second - Variable in class uk.co.jezuk.mango.Pair
 
second - Variable in class uk.co.jezuk.mango.Triplet
 
symmetricDifference(Collection, Collection, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
Algorithm symmetricDifference returns the elements that are on coll1 and not in coll2, and those elements in coll2 that are not in coll1.
symmetricDifference(Iterator, Collection, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
symmetricDifference(Iterator, Iterator, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 

T

TransformIterator(Iterator, UnaryFunction) - Static method in class uk.co.jezuk.mango.Iterators
A TransfromIterator applies a UnaryFunction to each element in the sequence, returning the the function result at each step.
TransformIterator(Iterator, UnaryFunction) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A TransfromIterator applies a UnaryFunction to each element in the sequence, returning the the function result at each step.
Triplet - class uk.co.jezuk.mango.Triplet.
A Triplet holds three Objects.
Triplet() - Constructor for class uk.co.jezuk.mango.Triplet
 
Triplet(Object, Object, Object) - Constructor for class uk.co.jezuk.mango.Triplet
 
True() - Static method in class uk.co.jezuk.mango.Mango
Deprecated. A Predicate which always returns true
True() - Static method in class uk.co.jezuk.mango.Predicates
A Predicate which always returns true
test(Object, Object) - Method in interface uk.co.jezuk.mango.BinaryPredicate
 
test(Object) - Method in interface uk.co.jezuk.mango.Predicate
 
third - Variable in class uk.co.jezuk.mango.Triplet
 
transform(Collection, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
The algorithm Transform applies the function fn to each element in the iterator sequence.
transform(Collection, int, int, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
transform(List, int, int, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
transform(Iterator, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Algorithms
 
transform(Collection, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Mango
Deprecated. The algorithm Transform applies the function fn to each element in the iterator sequence.
transform(Collection, int, int, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
transform(List, int, int, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  
transform(Iterator, UnaryFunction, Collection) - Static method in class uk.co.jezuk.mango.Mango
Deprecated.  

U

UnaryFunction - interface uk.co.jezuk.mango.UnaryFunction.
A UnaryFunction describes a function which takes one argument - fn(x).
uk.co.jezuk.mango - package uk.co.jezuk.mango
 
unique(Collection) - Static method in class uk.co.jezuk.mango.Algorithms
Removes duplicate elements.
unique(Collection, int, int) - Static method in class uk.co.jezuk.mango.Algorithms
 
unique(List, int, int) - Static method in class uk.co.jezuk.mango.Algorithms
 
unique(Iterator) - Static method in class uk.co.jezuk.mango.Algorithms
 
unique(Collection, Comparator) - Static method in class uk.co.jezuk.mango.Algorithms
 
unique(Collection, int, int, Comparator) - Static method in class uk.co.jezuk.mango.Algorithms
 
unique(List, int, int, Comparator) - Static method in class uk.co.jezuk.mango.Algorithms
 
unique(Iterator, Comparator) - Static method in class uk.co.jezuk.mango.Algorithms
 

A B C E F G I L M N O P R S T U

Copyright © 2002-2006 JezUK Ltd.