eu.lucaventuri.common.ConcurrentHashSet Maven / Gradle / Ivy
package eu.lucaventuri.common;
import java.util.Collections;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
public final class ConcurrentHashSet {
private ConcurrentHashSet() {}
public static Set build() {
return Collections.newSetFromMap(new ConcurrentHashMap<>());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy