[New] Added MapOfMaps.stream()

This commit is contained in:
Robert von Burg 2020-11-23 15:56:36 +01:00
parent 4a72ed8dae
commit 3847775dd4
1 changed files with 4 additions and 0 deletions

View File

@ -248,6 +248,10 @@ public class MapOfMaps<T, U, V> {
return this.mapOfMaps.values().stream().flatMap(uvMap -> uvMap.values().stream());
}
public Stream<Entry<T, Map<U, V>>> stream() {
return this.mapOfMaps.entrySet().stream();
}
@Override
public boolean equals(Object o) {
if (this == o)