functionalj.stream.intstream.CollectorPlusHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functionalj-core Show documentation
Show all versions of functionalj-core Show documentation
The module for FunctionalJ Core.
package functionalj.stream.intstream;
import static java.util.Collections.unmodifiableSet;
import static java.util.stream.Collector.Characteristics.CONCURRENT;
import static java.util.stream.Collector.Characteristics.UNORDERED;
import java.util.EnumSet;
import java.util.Set;
import java.util.stream.Collector.Characteristics;
public class CollectorPlusHelper {
private static final Set unorderedConcurrent = unmodifiableSet(EnumSet.of(UNORDERED, CONCURRENT));
public static Set unorderedConcurrent() {
return unorderedConcurrent;
}
}