3 ms·
Those are streams on views on the map. My complaint is that a reader seeing "maps don't support streams" with no further explanation is unlikely to get the corr
by mhaymo 11y ago
Those are streams on views on the map. My complaint is that a reader seeing "maps don't support streams" with no further explanation is unlikely to get the correct idea, and may infer that something like
map.entrySet().stream().filter(e -> e.getKey().equals(e.getValue())).findAny()
is not expressible.