mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
This commit is contained in:
@@ -60,7 +60,7 @@ class SetFromMap<E> extends AbstractSet<E>
|
||||
}
|
||||
|
||||
public boolean remove(Object o) {
|
||||
return m.remove(o) == DUMMY_VALUE;
|
||||
return m.remove(o, DUMMY_VALUE);
|
||||
}
|
||||
|
||||
public boolean add(E e) {
|
||||
@@ -91,6 +91,8 @@ class SetFromMap<E> extends AbstractSet<E>
|
||||
return o == this || s.equals(o);
|
||||
}
|
||||
|
||||
// TODO optimize in case of stateless clients -- because bulk ops are optimized on maps
|
||||
// but on key set they delegate to individual element queries => individual remote calls
|
||||
public boolean containsAll(Collection<?> c) {
|
||||
return s.containsAll(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user