Package uk.ac.manchester.spinnaker.utils
Class TripleMapIterable<V>
java.lang.Object
uk.ac.manchester.spinnaker.utils.TripleMapIterable<V>
- Type Parameters:
V
- class of objects to be supplied by the final iterator.
- All Implemented Interfaces:
Iterable<V>
,MappableIterable<V>
public final class TripleMapIterable<V> extends Object implements MappableIterable<V>
An Iterator for a Map or Collection of Maps 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
Constructors Constructor Description TripleMapIterable(Iterable<? extends Map<?,? extends Map<?,V>>> outer)
Creates an Iterable given a Iterable/Collection of Maps of Maps.TripleMapIterable(Map<?,? extends Map<?,? extends Map<?,V>>> outermap)
Creates an Iterable given a Map of Maps of Maps. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.ac.manchester.spinnaker.utils.MappableIterable
filter, first, first, map, nth, toCollectingMap, toCollectingMap, toCollectingMap, toCollectingMap, toList, toList, toMap, toMap, toSet, toSet
-
Constructor Details
-
TripleMapIterable
Creates an Iterable given a Map of Maps of Maps.- Parameters:
outermap
- A triple map with any type(s) as the keys.
-
TripleMapIterable
Creates an Iterable given a Iterable/Collection of Maps of Maps.- Parameters:
outer
- An Iterable of double maps with any type(s) as the keys.
-
-
Method Details