Class DoubleMapIterable<V>
java.lang.Object
uk.ac.manchester.spinnaker.utils.DoubleMapIterable<V>
- Type Parameters:
V- Class of the Object to be supplied by the final Iterator.
- All Implemented Interfaces:
Iterable<V>, MappableIterable<V>
An Iterable for a Map or Collection of Maps.
The type of the Keys of the maps is irrelevant. It is not even required that keys in each map are of the same type.
- Author:
- Christian-B
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleMapIterable(Iterable<? extends Map<?, V>> outer) Create an Iterator give a Collection/Iterable of Maps .DoubleMapIterable(Map<?, ? extends Map<?, V>> outermap) Creates an Iterable given a Map of Maps. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface MappableIterable
filter, first, first, map, nth, toCollectingMap, toCollectingMap, toCollectingMap, toCollectingMap, toList, toList, toMap, toMap, toSet, toSet
-
Constructor Details
-
DoubleMapIterable
-
DoubleMapIterable
-
-
Method Details
-
iterator
-