| Modifier and Type | Method and Description |
|---|---|
protected Source<Payload> |
AbstractListSequence.doRemoveAll(Predicate<? super Payload> predicate,
boolean satisfying) |
protected abstract Source<Payload> |
AbstractSequence.doRemoveAll(Predicate<? super Payload> predicate,
boolean satisfying)
Removes the payload values that satisfy the given
Predicate. |
Source<Payload> |
Sequence.removeAllMatches(Predicate<? super Payload> predicate)
Removes the payload values that satisfy the given
Predicate. |
Source<Payload> |
AbstractSequence.removeAllMatches(Predicate<? super Payload> predicate) |
Optional<Payload> |
Sequence.removeFirstMatch(Predicate<? super Payload> predicate)
Removes the first payload value that satisfies the given
Predicate |
Optional<Payload> |
AbstractSequence.removeFirstMatch(Predicate<? super Payload> predicate) |
Optional<Payload> |
Sequence.removeLastMatch(Predicate<? super Payload> predicate)
Removes the last payload value that satisfies the given
Predicate |
Optional<Payload> |
AbstractSequence.removeLastMatch(Predicate<? super Payload> predicate) |
Source<Payload> |
Sequence.replaceAllMatches(Predicate<? super Payload> predicate,
Provider<? extends Payload> provider)
|
Source<Payload> |
AbstractSequence.replaceAllMatches(Predicate<? super Payload> predicate,
Provider<? extends Payload> provider) |
Optional<Payload> |
Sequence.replaceFirstMatch(Predicate<? super Payload> predicate,
Payload replacement)
Replaces the first payload value that satisfy the given
Predicate
with the given replacement payload value. |
Optional<Payload> |
AbstractSequence.replaceFirstMatch(Predicate<? super Payload> predicate,
Payload replacement) |
Optional<Payload> |
Sequence.replaceLastMatch(Predicate<? super Payload> predicate,
Payload replacement)
Replaces the last payload value that satisfy the given
Predicate
with the given replacement payload value. |
Optional<Payload> |
AbstractSequence.replaceLastMatch(Predicate<? super Payload> predicate,
Payload replacement) |
Source<Payload> |
Sequence.retainAllMatches(Predicate<? super Payload> predicate)
Removes all but the payload values that satisfy the given
Predicate. |
Source<Payload> |
AbstractSequence.retainAllMatches(Predicate<? super Payload> predicate) |
| Modifier and Type | Method and Description |
|---|---|
protected Predicate<Payload> |
AbstractSource.createPredicate(Payload payload)
Creates and returns a
Predicate that is satisfied, if the test
subject is equal to the given payload value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractSource.containsMatch(Predicate<? super Payload> predicate) |
boolean |
Source.containsMatch(Predicate<? super Payload> predicate)
|
protected static <Payload> Optional<Integer> |
AbstractSource.firstIndexOf(Iterator<? extends Payload> iterator,
Predicate<? super Payload> predicate)
Returns the index of the first payload value that satisfies the give
Predicate. |
Optional<Integer> |
IndexedSource.firstIndexOfMatch(Predicate<? super Payload> predicate)
Returns index, of the first occurrence of a payload value that satisfies
the given
Predicate. |
Optional<Integer> |
AbstractIndexedSource.firstIndexOfMatch(Predicate<? super Payload> predicate) |
Source<Payload> |
AbstractSource.getAllMatches(Predicate<? super Payload> predicate) |
Source<Payload> |
Source.getAllMatches(Predicate<? super Payload> predicate)
Returns the payload values that satisfy the given
Predicate. |
Optional<Payload> |
IndexedSource.getFirstMatch(Predicate<? super Payload> predicate)
Returns the first payload value that satisfies the given
Predicate . |
Optional<Payload> |
AbstractSource.getFirstMatch(Predicate<? super Payload> predicate) |
Optional<Payload> |
Source.getFirstMatch(Predicate<? super Payload> predicate)
Returns the first (i.e.
|
Optional<Payload> |
IndexedSource.getLastMatch(Predicate<? super Payload> predicate)
Returns the last payload value that satisfies the given
Predicate
. |
Optional<Payload> |
AbstractIndexedSource.getLastMatch(Predicate<? super Payload> predicate) |
Optional<Integer> |
IndexedSource.lastIndexOfMatch(Predicate<? super Payload> predicate)
Returns index, of the last occurrence of a payload value that satisfies
the given
Predicate. |
Optional<Integer> |
AbstractIndexedSource.lastIndexOfMatch(Predicate<? super Payload> predicate) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Integer> |
Stack.firstIndexOfMatch(Predicate<? super Payload> predicate)
|
Optional<Integer> |
AbstractStack.firstIndexOfMatch(Predicate<? super Payload> predicate) |
Optional<Payload> |
Stack.getFirstMatch(Predicate<? super Payload> predicate)
Returns the first i.e.
|
Source<Payload> |
Stack.popAllMatches(Predicate<? super Payload> predicate)
Removes the first (i.e.
|
Source<Payload> |
AbstractStack.popAllMatches(Predicate<? super Payload> predicate) |
| Constructor and Description |
|---|
FilteredIterable(Iterable<? extends Payload> iterable,
Predicate<? super Payload> predicate)
Creates a new
FilteredIterable. |
FilteredIterable(Iterable<? extends Payload> iterable,
Predicate<? super Payload> predicate,
boolean invertPredicate)
Creates a new
FilteredIterable. |
| Constructor and Description |
|---|
FilteredIterator(Iterator<? extends Payload> iterator,
Predicate<? super Payload> predicate)
Creates a new
FilteredIterator. |
FilteredIterator(Iterator<? extends Payload> iterator,
Predicate<? super Payload> predicate,
boolean invertPredicate)
Creates a new
FilteredIterator. |
Copyright © 2016–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.