Constructor and Description |
---|
FirstOf(Func<T,Boolean> cond,
Iterable<T> src,
Scalar<T> fbck)
Constructor.
|
FirstOf(Iterable<T> src,
Scalar<T> fbck)
Constructor with default condition (always `true`).
|
FirstOf(Iterable<T> src,
T fbck)
Constructor with default condition (always `true`) and plain fallback.
|
public FirstOf(Iterable<T> src, T fbck)
src
- Source iterablefbck
- Fallback used if no value matchespublic FirstOf(Iterable<T> src, Scalar<T> fbck)
src
- Source iterablefbck
- Fallback used if no value matchesCopyright © 2017–2020 Cactoos. All rights reserved.