SaferIterable<E extends Object> extension

on

Properties

firstOrNone Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

no setter
lastOrNone Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

no setter
noneIfEmpty Option<Iterable<E>>

Available on Iterable<E>, provided by the SaferIterable extension

no setter
singleOrNone Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

no setter

Methods

elementAtOrNone(int index) Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

firstWhereOrNone(bool test(E element)) Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

lastWhereOrNone(bool test(E element)) Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

reduceOrNone(E combine(E value, E element)) Option<E>

Available on Iterable<E>, provided by the SaferIterable extension

singleWhereOrNone(bool test(E element)) Option<E>

Available on Iterable<E>, provided by the SaferIterable extension