It's now possible to get notified on preference object changes in

UserStore
This commit is contained in:
Steffen Schaefer committed 2016-07-05 10:40:20 +02:00
1 parent 069065ba59
commit cd5ca3741e
3 files changed
+73 -2

No files matched your search

@@ -364,6 +364,12 @@ public class Util {
}
map.get(key).add(value);
}
public static <K, V> void removeFromAllValueSets(Map<K, Set<V>> map, V value) {
for (Set<V> set : map.values()) {
set.remove(value);
}
}
public static String join(String separator, String... strings) {
return joinStrings(separator, Arrays.asList(strings));