| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
Logic.Unary.always()
Creates a predicate always yielding true.
|
static <T> Predicate<T> |
Logic.Unary.and(Iterable<Predicate<T>> predicates)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.Unary.and(Iterator<Predicate<T>> predicates)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T>... predicates)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite AND predicate from the given predicates.
|
static <R,T> Predicate<T> |
Compositions.compose(Predicate<R> predicate,
Delegate<R,T> delegate)
Composes a predicate with a delegate (predicate ° delegate).
|
static <R,T2,T1> Predicate<T1> |
Compositions.compose(Predicate<R> p,
Delegate<R,T2> f,
Delegate<T2,T1> g)
Composes a predicate and two delegates, (predicate ° delegate1 °
delegate2).
|
static <T1,T2> Predicate<T2> |
Dispatching.curry(BinaryPredicate<T1,T2> predicate,
T1 first)
Partial application of the first parameter to a binary predicate.
|
static <T> Predicate<T> |
Dispatching.ignore(Proposition proposition,
Class<T> ignored)
Adapts a proposition to a predicate by ignoring the passed parameter.
|
static <T> Predicate<T> |
Spies.monitor(Predicate<T> predicate,
AtomicLong calls)
Monitors calls to a predicate.
|
static <T> Predicate<T> |
Logic.Unary.never()
Creates a predicate always yielding false.
|
static <T> Predicate<T> |
Logic.not(Predicate<T> predicate)
Negates the given predicate.
|
static <T> Predicate<T> |
Logic.Unary.or(Iterable<Predicate<T>> predicates)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.Unary.or(Iterator<Predicate<T>> predicates)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T>... predicates)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Dispatching.predicate(Delegate<Boolean,T> delegate)
Adapts a delegate to a predicate.
|
static <T1,T2> Predicate<T1> |
Dispatching.rcurry(BinaryPredicate<T1,T2> predicate,
T2 second)
Partial application of the last (rightmost) parameter to a binary
predicate.
|
static <T> Predicate<T> |
Spies.spy(Predicate<T> predicate,
Box<Boolean> result,
Box<T> param)
Proxies a predicate spying for result and parameter.
|
static <T> Predicate<T> |
Spies.spy1st(Predicate<T> predicate,
Box<T> param)
Proxies a predicate spying for parameter.
|
static <T> Predicate<T> |
Spies.spyRes(Predicate<T> predicate,
Box<Boolean> result)
Proxies a predicate spying for result.
|
static <T,U> Predicate<Pair<T,U>> |
Tuples.tupled(BinaryPredicate<T,U> predicate)
Adapts a binary predicate to a predicate accepting a pair.
|
static <T,U,V> Predicate<Triple<T,U,V>> |
Tuples.tupled(TernaryPredicate<T,U,V> predicate)
Adapts a ternary predicate to a predicate accepting a triple.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
Logic.and(Predicate<T>... predicates)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.and(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite AND predicate from the given predicates.
|
static <E> boolean |
Reductions.any(E[] array,
Predicate<E> predicate)
Yields true if ANY predicate application on the given array yields true
(giving up on the first positive match).
|
static <E> boolean |
Reductions.any(Iterable<E> iterable,
Predicate<E> predicate)
Yields true if ANY predicate application on the given iterable yields
true (giving up on the first positive match).
|
static <E> boolean |
Reductions.any(Iterator<E> iterator,
Predicate<E> predicate)
Yields true if ANY predicate application on the given iterator yields
true (giving up on the first positive match).
|
static <R,T1,T2> BinaryPredicate<T1,T2> |
Compositions.compose(Predicate<R> predicate,
BinaryDelegate<R,T1,T2> delegate)
Composes a predicate with a binary delegate (predicate ° delegate).
|
static <R,T> Predicate<T> |
Compositions.compose(Predicate<R> predicate,
Delegate<R,T> delegate)
Composes a predicate with a delegate (predicate ° delegate).
|
static <R,T2,T1> Predicate<T1> |
Compositions.compose(Predicate<R> p,
Delegate<R,T2> f,
Delegate<T2,T1> g)
Composes a predicate and two delegates, (predicate ° delegate1 °
delegate2).
|
static <R,T1,T2,T3> |
Compositions.compose(Predicate<R> predicate,
TernaryDelegate<R,T1,T2,T3> delegate)
Composes a predicate with a ternary delegate (predicate ° delegate).
|
static <T> Proposition |
Dispatching.curry(Predicate<T> predicate,
T value)
Partial application of the parameter to a predicate.
|
static <T> Delegate<Boolean,T> |
Dispatching.delegate(Predicate<T> adaptee)
Adapts a predicate to a delegate.
|
static <E> Iterator<E> |
Filtering.dropWhile(E[] array,
Predicate<E> predicate)
Creates an iterator yielding values from the source array up until the
passed predicate doesn't match.
|
static <E> Iterator<E> |
Filtering.dropWhile(Iterable<E> iterable,
Predicate<E> predicate)
Creates an iterator yielding values from the source iterable up until the
passed predicate doesn't match.
|
static <E> Iterator<E> |
Filtering.dropWhile(Iterator<E> iterator,
Predicate<E> predicate)
Creates an iterator yielding values from the source iterator up until the
passed predicate doesn't match.
|
static <E> boolean |
Reductions.every(E[] array,
Predicate<E> predicate)
Yields true if EVERY predicate application on the given array yields
true.
|
static <E> boolean |
Reductions.every(Iterable<E> iterable,
Predicate<E> predicate)
Yields true if EVERY predicate application on the given iterable yields
true.
|
static <E> boolean |
Reductions.every(Iterator<E> iterator,
Predicate<E> predicate)
Yields true if EVERY predicate application on the given iterator yields
true.
|
static <E> Iterator<E> |
Filtering.filter(E[] array,
Predicate<E> predicate)
Creates an iterator yielding elements from the source array matching the
given predicate.
|
static <E> Iterator<E> |
Filtering.filter(Iterable<E> iterable,
Predicate<E> predicate)
Creates an iterator yielding elements from the source iterable matching
the given predicate.
|
static <E> Iterator<E> |
Filtering.filter(Iterator<E> iterator,
Predicate<E> predicate)
Creates an iterator yielding elements from the source iterator matching
the given predicate.
|
static <C extends Collection<E>,E> |
Searches.find(E[] array,
C collection,
Predicate<E> predicate)
Searches the array, adding every value matching the predicate to the
passed collection.
|
static <E> List<E> |
Searches.find(E[] array,
Predicate<E> predicate)
Searches the array, yielding every value matching the predicate.
|
static <C extends Collection<E>,E> |
Searches.find(E[] array,
Provider<C> provider,
Predicate<E> predicate)
Searches the array, adding every value matching the predicate to the
collection yielded by the passed provider.
|
static <C extends Collection<E>,E> |
Searches.find(Iterable<E> iterable,
C collection,
Predicate<E> predicate)
Searches the iterable, adding every value matching the predicate to the
passed collection.
|
static <E> List<E> |
Searches.find(Iterable<E> iterable,
Predicate<E> predicate)
Searches the iterable, yielding every value matching the predicate.
|
static <C extends Collection<E>,E> |
Searches.find(Iterable<E> iterable,
Provider<C> provider,
Predicate<E> predicate)
Searches the iterable, adding every value matching the predicate to the
collection yielded by the passed provider.
|
static <C extends Collection<E>,E> |
Searches.find(Iterator<E> iterator,
C collection,
Predicate<E> predicate)
Searches the iterator, consuming it, adding every value matching the
predicate to the passed collection.
|
static <E> List<E> |
Searches.find(Iterator<E> iterator,
Predicate<E> predicate)
Searches the iterator, consuming it, yielding every value matching the
predicate.
|
static <C extends Collection<E>,E> |
Searches.find(Iterator<E> iterator,
Provider<C> provider,
Predicate<E> predicate)
Searches the iterator, consuming it, adding every value matching the
predicate to the collection yielded by the passed provider.
|
static <E> E |
Searches.findFirst(E[] array,
Predicate<E> predicate)
Searches the first matching element returning it.
|
static <E> E |
Searches.findFirst(Iterable<E> iterable,
Predicate<E> predicate)
Searches the first matching element returning it.
|
static <E> E |
Searches.findFirst(Iterator<E> iterator,
Predicate<E> predicate)
Searches the first matching element returning it.
|
static <E> E |
Searches.findLast(E[] array,
Predicate<E> predicate)
Searches the last matching element returning it.
|
static <E> E |
Searches.findLast(Iterable<E> iterable,
Predicate<E> predicate)
Searches the last matching element returning it.
|
static <E> E |
Searches.findLast(Iterator<E> iterator,
Predicate<E> predicate)
Searches the last matching element returning it.
|
static <E> E |
Searches.findOne(E[] array,
Predicate<E> predicate)
Searches the only matching element returning it.
|
static <E> E |
Searches.findOne(Iterable<E> iterable,
Predicate<E> predicate)
Searches the only matching element returning it.
|
static <E> E |
Searches.findOne(Iterator<E> iterator,
Predicate<E> predicate)
Searches the only matching element returning it.
|
static <T1,T2> BinaryPredicate<T1,T2> |
Dispatching.ignore1st(Predicate<T2> predicate,
Class<T1> ignored)
Adapts a predicate to a binary predicate by ignoring first parameter.
|
static <T1,T2> BinaryPredicate<T1,T2> |
Dispatching.ignore2nd(Predicate<T1> predicate,
Class<T2> ignored)
Adapts a predicate to a binary predicate by ignoring second parameter.
|
static <T> Predicate<T> |
Spies.monitor(Predicate<T> predicate,
AtomicLong calls)
Monitors calls to a predicate.
|
static <T> Predicate<T> |
Logic.not(Predicate<T> predicate)
Negates the given predicate.
|
static <T> Predicate<T> |
Logic.or(Predicate<T>... predicates)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.or(Predicate<T> first,
Predicate<T> second,
Predicate<T> third)
Creates a composite OR predicate from the given predicates.
|
static <T> Pair<List<T>,List<T>> |
Groups.partition(Iterable<T> values,
Predicate<T> partitioner)
Partitions elements from the iterable into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <C extends Collection<T>,T> |
Groups.partition(Iterable<T> values,
Predicate<T> partitioner,
Provider<C> collectionsProvider)
Partitions elements from the iterable into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <CA extends Collection<T>,CR extends Collection<T>,T> |
Groups.partition(Iterable<T> values,
Predicate<T> partitioner,
Provider<CA> acceptedCollectionProvider,
Provider<CR> refusedCollectionProvider)
Partitions elements from the iterable into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <T> Pair<List<T>,List<T>> |
Groups.partition(Iterator<T> values,
Predicate<T> partitioner)
Partitions elements from the iterator into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <C extends Collection<T>,T> |
Groups.partition(Iterator<T> values,
Predicate<T> partitioner,
Provider<C> collectionsProvider)
Partitions elements from the iterator into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <CA extends Collection<T>,CR extends Collection<T>,T> |
Groups.partition(Iterator<T> values,
Predicate<T> partitioner,
Provider<CA> acceptedCollectionProvider,
Provider<CR> refusedCollectionProvider)
Partitions elements from the iterator into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <T> Pair<List<T>,List<T>> |
Groups.partition(T[] values,
Predicate<T> partitioner)
Partitions elements from the array into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <C extends Collection<T>,T> |
Groups.partition(T[] values,
Predicate<T> partitioner,
Provider<C> collectionsProvider)
Partitions elements from the array into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <CA extends Collection<T>,CR extends Collection<T>,T> |
Groups.partition(T[] values,
Predicate<T> partitioner,
Provider<CA> acceptedCollectionProvider,
Provider<CR> refusedCollectionProvider)
Partitions elements from the array into two collections containing
elements that match the predicate (left side collection) and elements
that don't (right side collection).
|
static <C extends Collection<E>,E> |
Searches.search(E[] array,
C collection,
Predicate<E> predicate)
Searches the array, adding every value matching the predicate to the
passed collection.
|
static <E> List<E> |
Searches.search(E[] array,
Predicate<E> predicate)
Searches the array, adding every value matching the predicate to the
passed collection.
|
static <C extends Collection<E>,E> |
Searches.search(E[] array,
Provider<C> provider,
Predicate<E> predicate)
Searches the array, adding every value matching the predicate to the
collection yielded by the passed provider.
|
static <C extends Collection<E>,E> |
Searches.search(Iterable<E> iterable,
C collection,
Predicate<E> predicate)
Searches the iterable, adding every value matching the predicate to the
passed collection.
|
static <E> List<E> |
Searches.search(Iterable<E> iterable,
Predicate<E> predicate)
Searches the iterable, yielding every value matching the predicate.
|
static <C extends Collection<E>,E> |
Searches.search(Iterable<E> iterable,
Provider<C> provider,
Predicate<E> predicate)
Searches the iterable, adding every value matching the predicate to the
collection yielded by the passed provider.
|
static <C extends Collection<E>,E> |
Searches.search(Iterator<E> iterator,
C collection,
Predicate<E> predicate)
Searches the iterator, consuming it, adding every value matching the
predicate to the passed collection.
|
static <E> List<E> |
Searches.search(Iterator<E> iterator,
Predicate<E> predicate)
Searches the iterator, consuming it, yielding every value matching the
predicate.
|
static <C extends Collection<E>,E> |
Searches.search(Iterator<E> iterator,
Provider<C> provider,
Predicate<E> predicate)
Searches the iterator, consuming it, adding every value matching the
predicate to the collection yielded by the passed provider.
|
static <E> Maybe<E> |
Searches.searchFirst(E[] array,
Predicate<E> predicate)
Searches the first matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchFirst(Iterable<E> iterable,
Predicate<E> predicate)
Searches the first matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchFirst(Iterator<E> iterator,
Predicate<E> predicate)
Searches the first matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchLast(E[] array,
Predicate<E> predicate)
Searches the last matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchLast(Iterable<E> iterable,
Predicate<E> predicate)
Searches the last matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchLast(Iterator<E> iterator,
Predicate<E> predicate)
Searches the last matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchOne(E[] array,
Predicate<E> predicate)
Searches the only matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchOne(Iterable<E> iterable,
Predicate<E> predicate)
Searches the only matching element returning just element if found,
nothing otherwise.
|
static <E> Maybe<E> |
Searches.searchOne(Iterator<E> iterator,
Predicate<E> predicate)
Searches the only matching element returning just element if found,
nothing otherwise.
|
static <T> Predicate<T> |
Spies.spy(Predicate<T> predicate,
Box<Boolean> result,
Box<T> param)
Proxies a predicate spying for result and parameter.
|
static <T> Predicate<T> |
Spies.spy1st(Predicate<T> predicate,
Box<T> param)
Proxies a predicate spying for parameter.
|
static <T> Predicate<T> |
Spies.spyRes(Predicate<T> predicate,
Box<Boolean> result)
Proxies a predicate spying for result.
|
static <E> Iterator<E> |
Filtering.takeWhile(E[] array,
Predicate<E> predicate)
Creates an iterator yielding values from the source array up until the
passed predicate matches.
|
static <E> Iterator<E> |
Filtering.takeWhile(Iterable<E> iterable,
Predicate<E> predicate)
Creates an iterator yielding values from the source iterable up until the
passed predicate matches.
|
static <E> Iterator<E> |
Filtering.takeWhile(Iterator<E> iterator,
Predicate<E> predicate)
Creates an iterator yielding values from the source iterator up until the
passed predicate matches.
|
static <T,U> BinaryPredicate<T,U> |
Tuples.Pairs.untupled(Predicate<Pair<T,U>> predicate)
Adapts a predicate accepting a pair to a binary predicate.
|
static <T,U,V> TernaryPredicate<T,U,V> |
Tuples.Triples.untupled(Predicate<Triple<T,U,V>> predicate)
Adapts a predicate accepting a triple to a ternary predicate.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
Logic.Unary.and(Iterable<Predicate<T>> predicates)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.Unary.and(Iterator<Predicate<T>> predicates)
Creates a composite AND predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.Unary.or(Iterable<Predicate<T>> predicates)
Creates a composite OR predicate from the given predicates.
|
static <T> Predicate<T> |
Logic.Unary.or(Iterator<Predicate<T>> predicates)
Creates a composite OR predicate from the given predicates.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IsContainedIn<T>
A predicate accepting elements contained in the collection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TransformingPredicate<R,T>
Composes a predicate with a delegate (predicate ° delegate).
|
| Constructor and Description |
|---|
TransformingBinaryPredicate(Predicate<R> predicate,
BinaryDelegate<R,T1,T2> delegate) |
TransformingPredicate(Predicate<R> predicate,
Delegate<R,T> delegate) |
TransformingTernaryPredicate(Predicate<R> predicate,
TernaryDelegate<R,T1,T2,T3> delegate) |
| Modifier and Type | Class and Description |
|---|---|
class |
DelegateToPredicate<T>
Adapts a delegate with Boolean result type to a predicate.
|
class |
PredicateBinderFirst<T1,T2>
Binary to unary predicate adapter.
|
class |
PredicateBinderSecond<T1,T2>
Binary to unary predicate adapter.
|
class |
PropositionIgnoreParameter<T>
Adapts a proposition to a predicate.
|
| Constructor and Description |
|---|
PredicateBinder(Predicate<T> adaptee,
T parameter) |
PredicateIgnoreFirst(Predicate<T2> adaptee) |
PredicateIgnoreSecond(Predicate<T1> adaptee) |
PredicateToDelegate(Predicate<T> adaptee) |
| Modifier and Type | Class and Description |
|---|---|
class |
AllMatchingPredicate<E>
A composite unary predicate yielding true when every predicate match (no
further predicate is evaluated beyond the first returning false)
|
class |
FirstMatchingPredicate<E>
A composite unary predicate yielding true when the first predicate matches
(no further predicate is evaluated beyond the first returning true)
|
| Constructor and Description |
|---|
AllMatchingPredicate(Iterable<Predicate<E>> predicates) |
FirstMatchingPredicate(Iterable<Predicate<E>> predicates) |
| Modifier and Type | Class and Description |
|---|---|
class |
Always<E>
A unary predicate always returning true.
|
class |
Equals<T>
A predicate evaluating equality between objects.
|
class |
HasNext<I extends Iterator<?>>
Unary predicate matching iterators having a next value.
|
class |
IsTrue
A unary predicate evaluating if passed element is true.
|
class |
Negator<T>
Negates a predicate.
|
class |
Never<E>
A unary predicate always returning false.
|
class |
NotEquals<T>
A unary predicate evaluating if objects are not equals.
|
class |
NotNull<T>
A Predicate matching nonnull elements.
|
| Constructor and Description |
|---|
Negator(Predicate<T> predicate) |
| Modifier and Type | Class and Description |
|---|---|
class |
CapturingPredicate<T>
Proxies a predicate capturing parameter and result.
|
class |
MonitoringPredicate<T>
Proxies a predicate monitoring its calls.
|
| Constructor and Description |
|---|
CapturingPredicate(Predicate<T> nested,
Box<Boolean> result,
Box<T> param) |
MonitoringPredicate(Predicate<T> nested,
AtomicLong calls) |
| Modifier and Type | Class and Description |
|---|---|
class |
AtIndex<E>
A stateful predicate yielding true when called the
nth - 1 time. |
class |
DropWhile<T>
A stateful predicate yielding false until the first time the predicate
matches, true when and after the first time the predicate doesn't match.
|
class |
Nth<E>
A stateful predicate yielding true when called the nth time.
|
class |
TakeWhile<T>
A stateful predicate yielding true until the first time the predicate doesn't
matches, false when and after the first time the predicate matches.
|
class |
UntilCount<T>
A stateful predicate yielding true until counter hit the limit, false after
the limit is reached.
|
| Constructor and Description |
|---|
DropWhile(Predicate<T> dropWhile) |
FilteringIterator(Iterator<E> iterator,
Predicate<E> filter) |
TakeWhile(Predicate<T> dropWhile) |
TakeWhileIterator(Iterator<E> iterator,
Predicate<E> filter) |
| Constructor and Description |
|---|
PartitionBy(Predicate<T> partitioner,
Provider<CA> acceptedCollectionProvider,
Provider<CR> rejectedCollectionProvider) |
| Modifier and Type | Class and Description |
|---|---|
class |
IsEven<R,T>
A unary predicate evaluating if an element is even.
|
class |
IsOdd<R,T>
A unary predicate evaluating if an element is odd.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IsJust<T>
Unary Predicate matching Maybe.just elements.
|
class |
IsNothing<T>
Unary Predicate matching Maybe.nothing elements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RangeIsEmpty<R extends Range<T>,T> |
class |
RangeNotContaining<T> |
class |
RangeOverlappingWith<R extends Range<T>,T> |
| Modifier and Type | Class and Description |
|---|---|
class |
Any<T>
A unary predicate yielding true if any of the iterator elements matches the
nested predicate.
|
class |
Every<T>
A unary predicate yielding true if every iterator element matches the nested
predicate.
|
| Constructor and Description |
|---|
Any(Predicate<T> predicate) |
Every(Predicate<T> predicate) |
| Modifier and Type | Class and Description |
|---|---|
class |
StringContains |
class |
StringContainsIgnoreCase |
class |
StringEndsWith |
class |
StringEndsWithIgnoreCase |
class |
StringEqualsIgnoreCase |
class |
StringStartsWith |
class |
StringStartsWithIgnoreCase |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryToUnaryPredicate<T1,T2>
Adapts a binary predicate to a predicate handling pairs.
|
class |
TernaryToUnaryPredicate<T1,T2,T3>
Adapts a ternary predicate handling triples to a predicate handling triples.
|
| Constructor and Description |
|---|
UnaryToBinaryPredicate(Predicate<Pair<T1,T2>> predicate) |
UnaryToTernaryPredicate(Predicate<Triple<T1,T2,T3>> predicate) |
Copyright © 2013. All Rights Reserved.