HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>

Builder, removed addJsonConverter method from ChronicleMapBuilder
This commit is contained in:
leventov
2015-01-02 00:36:30 +07:00
parent 2ec2906e86
commit 96a0b57c66
29 changed files with 526 additions and 529 deletions
@@ -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);
}