@Override public <R extends Set<T>> R intersectInto(SetIterable<? extends T> set, R targetSet) { synchronized (this.getLock()) { return this.getMutableSet().intersectInto(set, targetSet); } }
@Override public boolean isProperSubsetOf(SetIterable<? extends T> candidateSuperset) { synchronized (this.getLock()) { return this.getMutableSet().isProperSubsetOf(candidateSuperset); } }
@Override public <R extends Set<T>> R symmetricDifferenceInto(SetIterable<? extends T> set, R targetSet) { synchronized (this.getLock()) { return this.getMutableSet().symmetricDifferenceInto(set, targetSet); } }
@Override public boolean isSubsetOf(SetIterable<? extends T> candidateSuperset) { synchronized (this.getLock()) { return this.getMutableSet().isSubsetOf(candidateSuperset); } }
@Override public MutableSet<T> difference(SetIterable<? extends T> subtrahendSet) { synchronized (this.getLock()) { return this.getMutableSet().difference(subtrahendSet); } }
@Override public MutableSet<UnsortedSetIterable<T>> powerSet() { synchronized (this.getLock()) { return this.getMutableSet().powerSet(); } }
@Override public <R extends Set<T>> R differenceInto(SetIterable<? extends T> subtrahendSet, R targetSet) { synchronized (this.getLock()) { return this.getMutableSet().differenceInto(subtrahendSet, targetSet); } }
@Override public MutableSet<T> symmetricDifference(SetIterable<? extends T> setB) { synchronized (this.getLock()) { return this.getMutableSet().symmetricDifference(setB); } }
@Override public boolean isProperSubsetOf(SetIterable<? extends T> candidateSuperset) { synchronized (this.getLock()) { return this.getMutableSet().isProperSubsetOf(candidateSuperset); } }
@Override public MutableSet<T> intersect(SetIterable<? extends T> set) { synchronized (this.getLock()) { return this.getMutableSet().intersect(set); } }
@Override public MutableSet<T> symmetricDifference(SetIterable<? extends T> setB) { synchronized (this.getLock()) { return this.getMutableSet().symmetricDifference(setB); } }
@Override public ImmutableSet<T> toImmutable() { synchronized (this.getLock()) { return Sets.immutable.withAll(this.getMutableSet()); } } }
@Override public MutableSet<T> difference(SetIterable<? extends T> subtrahendSet) { synchronized (this.getLock()) { return this.getMutableSet().difference(subtrahendSet); } }
@Override public MutableSet<UnsortedSetIterable<T>> powerSet() { synchronized (this.getLock()) { return this.getMutableSet().powerSet(); } }
@Override public ImmutableSet<T> toImmutable() { synchronized (this.getLock()) { return Sets.immutable.withAll(this.getMutableSet()); } } }
@Override public <R extends Set<T>> R unionInto(SetIterable<? extends T> set, R targetSet) { synchronized (this.getLock()) { return this.getMutableSet().unionInto(set, targetSet); } }
@Override public MutableSet<T> clone() { synchronized (this.getLock()) { return SynchronizedMutableSet.of(this.getMutableSet().clone()); } }
@Override public ParallelUnsortedSetIterable<T> asParallel(ExecutorService executorService, int batchSize) { return new SynchronizedParallelUnsortedSetIterable<>(this.getMutableSet().asParallel(executorService, batchSize), this.getLock()); }
@Override public MutableSet<T> newEmpty() { synchronized (this.getLock()) { return this.getMutableSet().newEmpty().asSynchronized(); } }
@Override public MutableSet<T> clone() { synchronized (this.getLock()) { return SynchronizedMutableSet.of(this.getMutableSet().clone()); } }