MapIterable

abstract class MapIterable : MutableIterator<MapDescriptor.Entry> , Iterable<MapDescriptor.Entry>

MapIterable is returned by A_Map.mapIterable to support use of Java's "foreach" control structure on maps.

Author

Mark van Gulik

Functions

Link copied to clipboard
open fun forEach(p0: Consumer<in MapDescriptor.Entry>)
Link copied to clipboard
open fun forEachRemaining(p0: Consumer<in MapDescriptor.Entry>)
Link copied to clipboard
abstract operator fun hasNext(): Boolean
Link copied to clipboard
open operator override fun iterator(): MapDescriptor.MapIterable

Convert trivially between an Iterable and an Iterator, since this class supports both protocols.

Link copied to clipboard
abstract operator fun next(): MapDescriptor.Entry
Link copied to clipboard
open override fun remove(): Nothing
Link copied to clipboard
open fun spliterator(): Spliterator<MapDescriptor.Entry>