mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add method 'entrySet' to MultiMap and use it.
This commit is contained in:
@@ -77,6 +77,10 @@ public class MultiMap<K, V> {
|
||||
list.add(value);
|
||||
}
|
||||
|
||||
public Set<Map.Entry<K, Collection<V>>> entrySet() {
|
||||
return myMap.entrySet();
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
for(Collection<V> valueList: myMap.values()) {
|
||||
if (!valueList.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user