|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jga.algorithms.Find
public class Find
Algorithms that return an iterator pointing at the first/next element of the input that meets some condition.
NOTE To find and return a value in the input, see the various flavors of
Summarize.lookup(Iterable,Object)
| Constructor Summary | |
|---|---|
Find()
|
|
| Method Summary | ||
|---|---|---|
static
|
elementOf(java.util.Collection<? extends T> values)
|
|
static
|
elementOf(java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
|
|
static
|
elementOf(java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
|
|
static
|
elementOf(T[] values)
|
|
static
|
elementOf(T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
|
|
static
|
elementOf(T[] values,
java.util.Comparator<? super T> comp)
|
|
static
|
find(java.lang.Iterable<? extends T> iter,
T value)
Finds an arbitrary value in the input using the equals() method. |
|
static
|
find(java.lang.Iterable<? extends T> iter,
T value,
java.util.Comparator<? super T> comp)
Finds an arbitrary value in the input using the given Comparator. |
|
static
|
find(java.lang.Iterable<? extends T> iter,
T value,
Equality<T> eq)
Finds an arbitrary value in the input using the given Equality operator. |
|
static
|
find(java.lang.Iterable<? extends T> iter,
UnaryFunctor<T,java.lang.Boolean> fn)
Finds a value in the input for which the given function returns TRUE. |
|
static
|
find(java.util.Iterator<? extends T> iterator,
T value)
Finds an arbitrary value in the input using the equals() method. |
|
static
|
find(java.util.Iterator<? extends T> iterator,
T value,
java.util.Comparator<? super T> comp)
Finds an arbitrary value in the input using the given Comparator. |
|
static
|
find(java.util.Iterator<? extends T> iterator,
T value,
Equality<T> eq)
Finds an arbitrary value in the input using the given Equality operator. |
|
static
|
find(java.util.Iterator<? extends T> iterator,
UnaryFunctor<T,java.lang.Boolean> eq)
Finds a value in the input for which the given function returns TRUE. |
|
static
|
find(T[] ts,
T value)
Finds an arbitrary value in the array using the equals() method. |
|
static
|
find(T[] ts,
T value,
java.util.Comparator<? super T> comp)
Finds an arbitrary value in the array using the given Comparator. |
|
static
|
find(T[] ts,
T value,
Equality<T> eq)
Finds an arbitrary value in the array using the given Equality operator. |
|
static
|
find(T[] ts,
UnaryFunctor<T,java.lang.Boolean> fn)
Finds a value in the input for which the given function returns TRUE. |
|
static
|
findAdjacent(java.lang.Iterable<? extends T> iter)
Locates the first/next pair of adjacent elements in the input that are the same value, using the equals() method. |
|
static
|
findAdjacent(java.lang.Iterable<? extends T> iter,
BinaryFunctor<T,T,java.lang.Boolean> eq)
Locates the first/next pair of adjacent elements in the input that are the same value, using the given functor. |
|
static
|
findAdjacent(java.lang.Iterable<? extends T> iter,
java.util.Comparator<? super T> comp)
Locates the first/next pair of adjacent elements in the input that are the same value, using the given comparator. |
|
static
|
findAdjacent(java.util.Iterator<? extends T> iterator)
Locates the first/next pair of adjacent elements in an iteration that are the same value, using the equals() method. |
|
static
|
findAdjacent(java.util.Iterator<? extends T> iterator,
BinaryFunctor<T,T,java.lang.Boolean> eq)
Locates the first/next pair of adjacent elements in an iteration that are the same value, using the given functor. |
|
static
|
findAdjacent(java.util.Iterator<? extends T> iterator,
java.util.Comparator<? super T> comp)
Locates the first/next pair of adjacent elements in an iteration that are the same value, using the given comparator. |
|
static
|
findAdjacent(T[] ts)
Locates the first/next pair of adjacent elements in the array that are the same value, using the equals() method. |
|
static
|
findAdjacent(T[] ts,
BinaryFunctor<T,T,java.lang.Boolean> eq)
Locates the first/next pair of adjacent elements in the array that are the same value, using the given functor. |
|
static
|
findAdjacent(T[] ts,
java.util.Comparator<? super T> comp)
Locates the first/next pair of adjacent elements in the array that are the same value, using the given comparator. |
|
static
|
findElement(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> values)
Finds first/next value in the input that is an element of the given collection, using the collection's contains() method. |
|
static
|
findElement(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
Finds first/next value in the input that is an element of the given collection, using the given functor to compare values. |
|
static
|
findElement(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
Finds first/next value in the input that is an element of the given collection, using the given functor to compare values. |
|
static
|
findElement(java.lang.Iterable<? extends T> iter,
T[] values)
Finds first/next value in the input that is an element of the given array. |
|
static
|
findElement(java.lang.Iterable<? extends T> iter,
T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
Finds first/next value in the input that is an element of the given array, using the given functor to compare values. |
|
static
|
findElement(java.lang.Iterable<? extends T> iter,
T[] values,
java.util.Comparator<? super T> comp)
Finds first/next value in the input that is an element of the given array, using the given Comparator to compare values. |
|
static
|
findElement(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> values)
Finds first/next value in the input that is an element of the given collection, using the collection's contains() method. |
|
static
|
findElement(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
Finds first/next value in the input that is an element of the given collection, using the given functor to compare values. |
|
static
|
findElement(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
Finds first/next value in the input that is an element of the given collection, using the given functor to compare values. |
|
static
|
findElement(java.util.Iterator<? extends T> iterator,
T[] values)
Finds first/next value in the input that is an element of the given array. |
|
static
|
findElement(java.util.Iterator<? extends T> iterator,
T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
Finds first/next value in the input that is an element of the given array, using the given functor to compare values. |
|
static
|
findElement(java.util.Iterator<? extends T> iterator,
T[] values,
java.util.Comparator<? super T> comp)
Finds first/next value in the input that is an element of the given array, using the given Comparator to compare values. |
|
static
|
findElement(T[] ts,
java.util.Collection<? extends T> values)
Finds first/next element in the array that is also in the collection of values, using the collection's contains() method. |
|
static
|
findElement(T[] ts,
java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
Finds first/next element in the input that is in the values collection, using the given functor to compare values. |
|
static
|
findElement(T[] ts,
java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
Finds first/next element in the array that is also in the values collection, using the given functor to compare values. |
|
static
|
findElement(T[] ts,
T[] values)
Finds first/next element in the array that is also in the values array. |
|
static
|
findElement(T[] ts,
T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
Finds first/next element in the array that is also in the values array, using the given functor to compare values. |
|
static
|
findElement(T[] ts,
T[] values,
java.util.Comparator<? super T> comp)
Finds first/next element in the array that is also in the values array, using the given Comparator to compare values. |
|
static
|
findMismatch(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern)
Finds the point at which the input differs from the pattern. |
|
static
|
findMismatch(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
Finds the point at which the input differs from the pattern, using the given functor to determine the mismatch. |
|
static
|
findMismatch(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
java.util.Comparator<? super T> comp)
Finds the point at which the input differs from the pattern, using the given comparator to determine the mismatch. |
|
static
|
findMismatch(java.lang.Iterable<? extends T> iter,
T[] pattern)
Finds the point at which the input differs from the pattern. |
|
static
|
findMismatch(java.lang.Iterable<? extends T> iter,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
Finds the point at which the input differs from the pattern, using the given functor to determine the mismatch. |
|
static
|
findMismatch(java.lang.Iterable<? extends T> iter,
T[] pattern,
java.util.Comparator<? super T> comp)
Finds the point at which the input differs from the pattern, using the given comparator to determine the mismatch. |
|
static
|
findMismatch(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern)
Finds the point at which the input differs from the pattern. |
|
static
|
findMismatch(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
Finds the point at which the input differs from the pattern, using the given functor to determine the mismatch. |
|
static
|
findMismatch(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
java.util.Comparator<? super T> comp)
Finds the point at which the input differs from the pattern, using the given comparator to determine the mismatch. |
|
static
|
findMismatch(java.util.Iterator<? extends T> iterator,
T[] pattern)
Finds the point at which the input differs from the pattern. |
|
static
|
findMismatch(java.util.Iterator<? extends T> iterator,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
Finds the point at which the input differs from the pattern, using the given functor to determine the mismatch. |
|
static
|
findMismatch(java.util.Iterator<? extends T> iterator,
T[] pattern,
java.util.Comparator<? super T> comp)
Finds the point at which the input differs from the pattern, using the given comparator to determine the mismatch. |
|
static
|
findMismatch(T[] ts,
java.util.Collection<? extends T> pattern)
Finds the point at which the array differs from the pattern. |
|
static
|
findMismatch(T[] ts,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
Finds the point at which the array differs from the pattern, using the given functor to determine the mismatch. |
|
static
|
findMismatch(T[] ts,
java.util.Collection<? extends T> pattern,
java.util.Comparator<? super T> comp)
Finds the point at which the array differs from the pattern, using the given comparator to determine the mismatch. |
|
static
|
findMismatch(T[] ts,
T[] pattern)
Finds the point at which the array differs from the pattern. |
|
static
|
findMismatch(T[] ts,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
Finds the point at which the array differs from the pattern, using the given functor to determine the mismatch. |
|
static
|
findMismatch(T[] ts,
T[] pattern,
java.util.Comparator<? super T> comp)
Finds the point at which the array differs from the pattern, using the given comparator to determine the mismatch. |
|
static
|
findRepeated(java.lang.Iterable<? extends T> iter,
int count,
T value)
Finds first/next arbitrary length run of a given value in the input. |
|
static
|
findRepeated(java.lang.Iterable<? extends T> iter,
int count,
T value,
java.util.Comparator<? super T> comp)
Finds first/next arbitrary length run of a given value in the input using the given comparator. |
|
static
|
findRepeated(java.lang.Iterable<? extends T> iter,
int count,
T value,
Equality<T> eq)
Finds first/next arbitrary length run of a given value in the input using the given equality function. |
|
static
|
findRepeated(java.lang.Iterable<? extends T> iter,
int count,
UnaryFunctor<T,java.lang.Boolean> eq)
Finds first/next arbitrary length run of elements in the input for which the given function returns TRUE. |
|
static
|
findRepeated(java.util.Iterator<? extends T> iterator,
int count,
T value)
Finds first/next arbitrary length run of a given value in an iteration. |
|
static
|
findRepeated(java.util.Iterator<? extends T> iterator,
int count,
T value,
java.util.Comparator<? super T> comp)
Finds first/next arbitrary length run of a given value in an iteration using the given comparator. |
|
static
|
findRepeated(java.util.Iterator<? extends T> iterator,
int count,
T value,
Equality<T> eq)
Finds first/next arbitrary length run of a given value in an iteration using the given equality function. |
|
static
|
findRepeated(java.util.Iterator<? extends T> iterator,
int count,
UnaryFunctor<T,java.lang.Boolean> eq)
Finds first/next arbitrary length run of elements in an iteration for which the given function returns TRUE. |
|
static
|
findRepeated(T[] ts,
int count,
T value)
Finds first/next arbitrary length run of a given value in the input. |
|
static
|
findRepeated(T[] ts,
int count,
T value,
java.util.Comparator<? super T> comp)
Finds first/next arbitrary length run of a given value in the input using the given comparator. |
|
static
|
findRepeated(T[] ts,
int count,
T value,
Equality<T> eq)
Finds first/next arbitrary length run of a given value in the input using the given equality function. |
|
static
|
findRepeated(T[] ts,
int count,
UnaryFunctor<T,java.lang.Boolean> eq)
Finds first/next arbitrary length run of elements in the input for which the given function returns TRUE. |
|
static
|
findSequence(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern)
Finds the given pattern in the input using the equals method. |
|
static
|
findSequence(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
Finds the given pattern in the input using the given functor to determine equivalence. |
|
static
|
findSequence(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
java.util.Comparator<T> comp)
Finds the given pattern in the input using the given comparator to determine equivalence. |
|
static
|
findSequence(java.lang.Iterable<? extends T> iter,
T[] pattern)
Finds the given pattern in the input using the equals method. |
|
static
|
findSequence(java.lang.Iterable<? extends T> iter,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
Finds the given pattern in the input using the given functor to determine equivalence. |
|
static
|
findSequence(java.lang.Iterable<? extends T> iter,
T[] pattern,
java.util.Comparator<? super T> comp)
Finds the given pattern in the input using the given comparator to determine equivalence. |
|
static
|
findSequence(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern)
Finds the given pattern in the input using the equals method. |
|
static
|
findSequence(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
Finds the given pattern in the collection using the given functor to determine equivalence. |
|
static
|
findSequence(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
java.util.Comparator<T> comp)
Finds the given pattern in the collection using the given comparator to determine equivalence. |
|
static
|
findSequence(java.util.Iterator<? extends T> iterator,
T[] pattern)
Finds the given pattern in the input using the equals method. |
|
static
|
findSequence(java.util.Iterator<? extends T> iterator,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
Finds the given pattern in the collection using the given functor to determine equivalence. |
|
static
|
findSequence(java.util.Iterator<? extends T> iterator,
T[] pattern,
java.util.Comparator<? super T> comp)
Finds the given pattern in the input using the given comparator to determine equivalence. |
|
static
|
findSequence(T[] ts,
java.util.Collection<? extends T> pattern)
Finds the given pattern in the input using the equals method. |
|
static
|
findSequence(T[] ts,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
Finds the given pattern in the input using the given functor to determine equivalence. |
|
static
|
findSequence(T[] ts,
java.util.Collection<? extends T> pattern,
java.util.Comparator<T> comp)
Finds the given pattern in the input using the given comparator to determine equivalence. |
|
static
|
findSequence(T[] ts,
T[] pattern)
Finds the given pattern in the input using the equals method. |
|
static
|
findSequence(T[] ts,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
Finds the given pattern in the input using the given functor to determine equivalence. |
|
static
|
findSequence(T[] ts,
T[] pattern,
java.util.Comparator<? super T> comp)
Finds the given pattern in the input using the given comparator to determine equivalence. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Find()
| Method Detail |
|---|
public static <T> java.util.Iterator<T> find(T[] ts,
T value)
public static <T> java.util.Iterator<T> find(T[] ts,
T value,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> find(T[] ts,
T value,
Equality<T> eq)
public static <T> java.util.Iterator<T> find(T[] ts,
UnaryFunctor<T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findElement(T[] ts,
T[] values)
public static <T> java.util.Iterator<T> findElement(T[] ts,
java.util.Collection<? extends T> values)
public static <T> java.util.Iterator<T> findElement(T[] ts,
T[] values,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findElement(T[] ts,
java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findElement(T[] ts,
T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> java.util.Iterator<T> findElement(T[] ts,
java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> java.util.Iterator<T> findAdjacent(T[] ts)
public static <T> java.util.Iterator<T> findAdjacent(T[] ts,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findAdjacent(T[] ts,
BinaryFunctor<T,T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findRepeated(T[] ts,
int count,
T value)
public static <T> java.util.Iterator<T> findRepeated(T[] ts,
int count,
T value,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findRepeated(T[] ts,
int count,
T value,
Equality<T> eq)
public static <T> java.util.Iterator<T> findRepeated(T[] ts,
int count,
UnaryFunctor<T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findSequence(T[] ts,
T[] pattern)
public static <T> java.util.Iterator<T> findSequence(T[] ts,
java.util.Collection<? extends T> pattern)
public static <T> java.util.Iterator<T> findSequence(T[] ts,
T[] pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findSequence(T[] ts,
java.util.Collection<? extends T> pattern,
java.util.Comparator<T> comp)
public static <T> java.util.Iterator<T> findSequence(T[] ts,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findSequence(T[] ts,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findMismatch(T[] ts,
T[] pattern)
public static <T> java.util.Iterator<T> findMismatch(T[] ts,
java.util.Collection<? extends T> pattern)
public static <T> java.util.Iterator<T> findMismatch(T[] ts,
T[] pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findMismatch(T[] ts,
java.util.Collection<? extends T> pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findMismatch(T[] ts,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
public static <T> java.util.Iterator<T> findMismatch(T[] ts,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
public static <T> java.util.Iterator<T> find(java.lang.Iterable<? extends T> iter,
T value)
public static <T> java.util.Iterator<T> find(java.lang.Iterable<? extends T> iter,
T value,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> find(java.lang.Iterable<? extends T> iter,
T value,
Equality<T> eq)
public static <T> java.util.Iterator<T> find(java.lang.Iterable<? extends T> iter,
UnaryFunctor<T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findElement(java.lang.Iterable<? extends T> iter,
T[] values)
public static <T> java.util.Iterator<T> findElement(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> values)
public static <T> java.util.Iterator<T> findElement(java.lang.Iterable<? extends T> iter,
T[] values,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findElement(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findElement(java.lang.Iterable<? extends T> iter,
T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> java.util.Iterator<T> findElement(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> java.util.Iterator<T> findAdjacent(java.lang.Iterable<? extends T> iter)
public static <T> java.util.Iterator<T> findAdjacent(java.lang.Iterable<? extends T> iter,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findAdjacent(java.lang.Iterable<? extends T> iter,
BinaryFunctor<T,T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findRepeated(java.lang.Iterable<? extends T> iter,
int count,
T value)
public static <T> java.util.Iterator<T> findRepeated(java.lang.Iterable<? extends T> iter,
int count,
T value,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findRepeated(java.lang.Iterable<? extends T> iter,
int count,
T value,
Equality<T> eq)
public static <T> java.util.Iterator<T> findRepeated(java.lang.Iterable<? extends T> iter,
int count,
UnaryFunctor<T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findSequence(java.lang.Iterable<? extends T> iter,
T[] pattern)
public static <T> java.util.Iterator<T> findSequence(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern)
public static <T> java.util.Iterator<T> findSequence(java.lang.Iterable<? extends T> iter,
T[] pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findSequence(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
java.util.Comparator<T> comp)
public static <T> java.util.Iterator<T> findSequence(java.lang.Iterable<? extends T> iter,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findSequence(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findMismatch(java.lang.Iterable<? extends T> iter,
T[] pattern)
public static <T> java.util.Iterator<T> findMismatch(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern)
public static <T> java.util.Iterator<T> findMismatch(java.lang.Iterable<? extends T> iter,
T[] pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findMismatch(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findMismatch(java.lang.Iterable<? extends T> iter,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
public static <T> java.util.Iterator<T> findMismatch(java.lang.Iterable<? extends T> iter,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
public static <T> java.util.Iterator<T> find(java.util.Iterator<? extends T> iterator,
T value)
public static <T> java.util.Iterator<T> find(java.util.Iterator<? extends T> iterator,
T value,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> find(java.util.Iterator<? extends T> iterator,
T value,
Equality<T> eq)
public static <T> java.util.Iterator<T> find(java.util.Iterator<? extends T> iterator,
UnaryFunctor<T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findElement(java.util.Iterator<? extends T> iterator,
T[] values)
public static <T> java.util.Iterator<T> findElement(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> values)
public static <T> java.util.Iterator<T> findElement(java.util.Iterator<? extends T> iterator,
T[] values,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findElement(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findElement(java.util.Iterator<? extends T> iterator,
T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> java.util.Iterator<T> findElement(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> java.util.Iterator<T> findAdjacent(java.util.Iterator<? extends T> iterator)
public static <T> java.util.Iterator<T> findAdjacent(java.util.Iterator<? extends T> iterator,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findAdjacent(java.util.Iterator<? extends T> iterator,
BinaryFunctor<T,T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findRepeated(java.util.Iterator<? extends T> iterator,
int count,
T value)
public static <T> java.util.Iterator<T> findRepeated(java.util.Iterator<? extends T> iterator,
int count,
T value,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findRepeated(java.util.Iterator<? extends T> iterator,
int count,
T value,
Equality<T> eq)
public static <T> java.util.Iterator<T> findRepeated(java.util.Iterator<? extends T> iterator,
int count,
UnaryFunctor<T,java.lang.Boolean> eq)
public static <T> java.util.Iterator<T> findSequence(java.util.Iterator<? extends T> iterator,
T[] pattern)
public static <T> java.util.Iterator<T> findSequence(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern)
public static <T> java.util.Iterator<T> findSequence(java.util.Iterator<? extends T> iterator,
T[] pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findSequence(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
java.util.Comparator<T> comp)
public static <T> java.util.Iterator<T> findSequence(java.util.Iterator<? extends T> iterator,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findSequence(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> fn)
public static <T> java.util.Iterator<T> findMismatch(java.util.Iterator<? extends T> iterator,
T[] pattern)
public static <T> java.util.Iterator<T> findMismatch(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern)
public static <T> java.util.Iterator<T> findMismatch(java.util.Iterator<? extends T> iterator,
T[] pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findMismatch(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
java.util.Comparator<? super T> comp)
public static <T> java.util.Iterator<T> findMismatch(java.util.Iterator<? extends T> iterator,
T[] pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
public static <T> java.util.Iterator<T> findMismatch(java.util.Iterator<? extends T> iterator,
java.util.Collection<? extends T> pattern,
BinaryFunctor<T,T,java.lang.Boolean> neq)
public static <T> UnaryFunctor<T,java.lang.Boolean> elementOf(T[] values)
public static <T> UnaryFunctor<T,java.lang.Boolean> elementOf(java.util.Collection<? extends T> values)
public static <T> UnaryFunctor<T,java.lang.Boolean> elementOf(T[] values,
java.util.Comparator<? super T> comp)
public static <T> UnaryFunctor<T,java.lang.Boolean> elementOf(java.util.Collection<? extends T> values,
java.util.Comparator<? super T> comp)
public static <T> UnaryFunctor<T,java.lang.Boolean> elementOf(T[] values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
public static <T> UnaryFunctor<T,java.lang.Boolean> elementOf(java.util.Collection<? extends T> values,
BinaryFunctor<T,T,java.lang.Boolean> bf)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||