[New] Added MapOfMaps.stream()
This commit is contained in:
parent
4a72ed8dae
commit
3847775dd4
|
@ -248,6 +248,10 @@ public class MapOfMaps<T, U, V> {
|
||||||
return this.mapOfMaps.values().stream().flatMap(uvMap -> uvMap.values().stream());
|
return this.mapOfMaps.values().stream().flatMap(uvMap -> uvMap.values().stream());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Stream<Entry<T, Map<U, V>>> stream() {
|
||||||
|
return this.mapOfMaps.entrySet().stream();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this == o)
|
if (this == o)
|
||||||
|
|
Loading…
Reference in New Issue