Package uk.ac.manchester.spinnaker.utils
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 SummaryConstructorsConstructorDescriptionDoubleMapIterable(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 SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface uk.ac.manchester.spinnaker.utils.MappableIterablefilter, first, first, map, nth, toCollectingMap, toCollectingMap, toCollectingMap, toCollectingMap, toList, toList, toMap, toMap, toSet, toSet
- 
Constructor Details- 
DoubleMapIterableCreates an Iterable given a Map of Maps.- Parameters:
- outermap- A double map with any type(s) as the keys.
 
- 
DoubleMapIterableCreate an Iterator give a Collection/Iterable of Maps .- Parameters:
- outer- An iterable of Maps.
 
 
- 
- 
Method Details