@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this.delegate); }
@Override public ImmutableSet<T> newWithAll(Iterable<? extends T> elements) { return Sets.immutable.withAll(elements); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this); }
@Override public ImmutableSet<T> newWithAll(Iterable<? extends T> elements) { return Sets.immutable.withAll(elements); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this.delegate); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this.getDelegate()); }
@Override public ImmutableCollection<T> toImmutable() { return this.delegate instanceof Set ? Sets.immutable.withAll(this.delegate) : Lists.immutable.withAll(this.delegate); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this.getMutableSet()); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this.getDelegate()); }
@Override public ImmutableSet<T> toImmutable() { return Sets.immutable.withAll(this.getMutableSet()); }
@Override public ImmutableCollection<T> toImmutable() { return this.delegate instanceof Set ? Sets.immutable.withAll(this.delegate) : Lists.immutable.withAll(this.delegate); }
@Override public ImmutableSet<T> toImmutable() { synchronized (this.getLock()) { return Sets.immutable.withAll(this.getMutableSet()); } } }
@Override public ImmutableSet<T> toImmutable() { synchronized (this.getLock()) { return Sets.immutable.withAll(this.getMutableSet()); } } }
@Override public ImmutableSet<T> select(Predicate<? super T> predicate) { MutableList<T> intermediateResult = FastList.newList(); this.forEach(new SelectProcedure<>(predicate, intermediateResult)); return Sets.immutable.withAll(intermediateResult); }
@Override public ImmutableSet<T> reject(Predicate<? super T> predicate) { MutableList<T> intermediateResult = FastList.newList(); this.forEach(new RejectProcedure<>(predicate, intermediateResult)); return Sets.immutable.withAll(intermediateResult); }
@Override public ImmutableSet<T> reject(Predicate<? super T> predicate) { MutableList<T> intermediateResult = FastList.newList(); this.forEach(new RejectProcedure<>(predicate, intermediateResult)); return Sets.immutable.withAll(intermediateResult); }
@Override public ImmutableSet<T> select(Predicate<? super T> predicate) { MutableList<T> intermediateResult = FastList.newList(); this.forEach(new SelectProcedure<>(predicate, intermediateResult)); return Sets.immutable.withAll(intermediateResult); }