HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API

This commit is contained in:
leventov
2015-07-24 20:11:58 +03:00
parent 912a3cc2fc
commit 9fe1dab477
32 changed files with 196 additions and 231 deletions
@@ -143,13 +143,18 @@ class SetFromMap<E> extends AbstractSet<E>
}
@Override
public boolean forEachEntryWhile(Predicate<? super KeyContext<E>> predicate) {
return m.forEachEntryWhile(predicate);
public SetSegmentContext<E, ?> segmentContext(int segmentIndex) {
throw new UnsupportedOperationException();
}
@Override
public void forEachEntry(Consumer<? super KeyContext<E>> action) {
m.forEachEntry(action);
public boolean forEachEntryWhile(Predicate<? super SetEntry<E>> predicate) {
throw new UnsupportedOperationException();
}
@Override
public void forEachEntry(Consumer<? super SetEntry<E>> action) {
throw new UnsupportedOperationException();
}
@Override