package org.eclipse.collections.api.set;
import java.util.concurrent.ExecutorService;
import org.eclipse.collections.api.block.function.Function;
import org.eclipse.collections.api.block.function.Function2;
import org.eclipse.collections.api.block.function.primitive.BooleanFunction;
import org.eclipse.collections.api.block.function.primitive.ByteFunction;
import org.eclipse.collections.api.block.function.primitive.CharFunction;
import org.eclipse.collections.api.block.function.primitive.DoubleFunction;
import org.eclipse.collections.api.block.function.primitive.FloatFunction;
import org.eclipse.collections.api.block.function.primitive.IntFunction;
import org.eclipse.collections.api.block.function.primitive.LongFunction;
import org.eclipse.collections.api.block.function.primitive.ShortFunction;
import org.eclipse.collections.api.block.predicate.Predicate;
import org.eclipse.collections.api.block.predicate.Predicate2;
import org.eclipse.collections.api.block.procedure.Procedure;
import org.eclipse.collections.api.multimap.set.UnsortedSetMultimap;
import org.eclipse.collections.api.ordered.OrderedIterable;
import org.eclipse.collections.api.set.primitive.BooleanSet;
import org.eclipse.collections.api.set.primitive.ByteSet;
import org.eclipse.collections.api.set.primitive.CharSet;
import org.eclipse.collections.api.set.primitive.DoubleSet;
import org.eclipse.collections.api.set.primitive.FloatSet;
import org.eclipse.collections.api.set.primitive.IntSet;
import org.eclipse.collections.api.set.primitive.LongSet;
import org.eclipse.collections.api.set.primitive.ShortSet;
import org.eclipse.collections.api.tuple.Pair;
public interface UnsortedSetIterable<T>
extends SetIterable<T>
{
UnsortedSetIterable<UnsortedSetIterable<T>> powerSet();
@Override
UnsortedSetIterable<T> tap(Procedure<? super T> procedure);
@Override
<V> UnsortedSetIterable<V> collect(Function<? super T, ? extends V> function);
@Override
BooleanSet collectBoolean(BooleanFunction<? super T> booleanFunction);
@Override
ByteSet collectByte(ByteFunction<? super T> byteFunction);
@Override
CharSet collectChar(CharFunction<? super T> charFunction);
@Override
DoubleSet collectDouble(DoubleFunction<? super T> doubleFunction);
@Override
FloatSet collectFloat(FloatFunction<? super T> floatFunction);
@Override
IntSet collectInt(IntFunction<? super T> intFunction);
@Override
LongSet collectLong(LongFunction<? super T> longFunction);
@Override
ShortSet collectShort(ShortFunction<? super T> shortFunction);
@Override
<P, V> UnsortedSetIterable<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter);
@Override
<V> UnsortedSetIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T, ? extends V> function);
@Override
<V> UnsortedSetIterable<V> flatCollect(Function<? super T, ? extends Iterable<V>> function);
@Override
default <P, V> UnsortedSetIterable<V> flatCollectWith(Function2<? super T, ? super P, ? extends Iterable<V>> function, P parameter)
{
return this.flatCollect(each -> function.apply(each, parameter));
}
@Override
<V> UnsortedSetMultimap<V, T> groupBy(Function<? super T, ? extends V> function);
@Override
<V> UnsortedSetMultimap<V, T> groupByEach(Function<? super T, ? extends Iterable<V>> function);
@Override
UnsortedSetIterable<T> union(SetIterable<? extends T> set);
@Override
UnsortedSetIterable<T> intersect(SetIterable<? extends T> set);
@Override
UnsortedSetIterable<T> difference(SetIterable<? extends T> subtrahendSet);
@Override
UnsortedSetIterable<T> symmetricDifference(SetIterable<? extends T> setB);
@Override
UnsortedSetIterable<T> select(Predicate<? super T> predicate);
@Override
<P> UnsortedSetIterable<T> selectWith(Predicate2<? super T, ? super P> predicate, P parameter);
@Override
UnsortedSetIterable<T> reject(Predicate<? super T> predicate);
@Override
<P> UnsortedSetIterable<T> rejectWith(Predicate2<? super T, ? super P> predicate, P parameter);
@Override
<S> UnsortedSetIterable<S> selectInstancesOf(Class<S> clazz);
@Override
@Deprecated
<S> UnsortedSetIterable<Pair<T, S>> zip(Iterable<S> that);
@Override
@Deprecated
UnsortedSetIterable<Pair<T, Integer>> zipWithIndex();
@Override
ImmutableSet<T> toImmutable();
@Override
ParallelUnsortedSetIterable<T> asParallel(ExecutorService executorService, int batchSize);
}