A - The type of the first defined valueB - The type of the second defined valueC - The type of the third defined valueD - The type of the fourth defined valueE - The type of the fifth defined valueF - The type of the sixth defined valuepublic final class OptionalStep6<A,B,C,D,E,F> extends Object
Optional type.
This class is not intended to be contructed manually, and should only be used
as part of a Steps chain, started by Steps.begin(Optional)
for usage examples,
Optional| Modifier and Type | Method and Description |
|---|---|
OptionalStep6<A,B,C,D,E,F> |
filter(Predicate6<? super A,? super B,? super C,? super D,? super E,? super F> predicate)
Apply the provided predicate with the previous step results.
|
<Z> Optional<Z> |
yield(Function6<? super A,? super B,? super C,? super D,? super E,? super F,Z> functor)
Terminating step expression, that will provide the previous steps to this
function and return the result as a
of |
public OptionalStep6<A,B,C,D,E,F> filter(Predicate6<? super A,? super B,? super C,? super D,? super E,? super F> predicate)
predicate - The check that must be satisfied by contained valuespublic <Z> Optional<Z> yield(Function6<? super A,? super B,? super C,? super D,? super E,? super F,Z> functor)
ofZ - The type for the returned resultfunctor - The yield function to map on previous valuesCopyright © 2018 Atlassian. All rights reserved.