sdk-common / com.tomtom.online.sdk.common.functional / Iterators

Iterators

class Iterators

A collection of predefined general-purpose Iterator implementations.

Functions

empty

static fun <T : Any!> empty(): MutableIterator<T>!

Returns an empty iterator.

of

static fun <T : Any!> of(vararg values: T): MutableIterator<T>!

Returns an iterator for the supplied values. Passing a null value will result in a NullPointerException. The returned iterator doesn't support the remove operation.