All Downloads are FREE. Search and download functionalities are using the official Maven repository.

functionalj.stream.intstream.CollectorPlusHelper Maven / Gradle / Ivy

There is a newer version: 1.0.17
Show newest version
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;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy