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 OptionStep6<A,B,C,D,E,F> extends Object
Option 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(Option)
for usage examples,
Option| Modifier and Type | Method and Description |
|---|---|
OptionStep6<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> Option<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
some |
public OptionStep6<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> Option<Z> yield(Function6<? super A,? super B,? super C,? super D,? super E,? super F,Z> functor)
someZ - The type for the returned resultfunctor - The yield function to map on previous valuesCopyright © 2018 Atlassian. All rights reserved.