spring-framework / org.springframework.util / CollectionUtils / toIterator

toIterator

open static fun <E : Any> toIterator(enumeration: Enumeration<E>): MutableIterator<E>

Adapt an enumeration to an iterator.

Parameters

enumeration - the enumeration

Return
the iterator