DefaultRangeIfEmptyExtension<T> extension

on

Methods

defaultRangeIfEmpty(Iterable<T> defaultVal) Iterable<T>
Returns this iterable, or defaultVal if this iterable is empty.