ScalableIterableExtension<E extends Scalable<E>> extension

A Scalable Iterable extension.

on

Methods

closestTo(E target, [num difference(E a, E b)?]) → E

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

The closest element E to target.
compact({E nextValue(E current)?, Comparator<E>? compare}) Iterable<Range<E>>

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

Compacts this Iterable into a list of Ranges based on nextValue and compare.