com.github.fmjsjx.libcommon.collection.LongHashSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libcommon-collection Show documentation
Show all versions of libcommon-collection Show documentation
A set of some common useful libraries.
package com.github.fmjsjx.libcommon.collection;
import static com.github.fmjsjx.libcommon.collection.IntHashSet.PRESENT;
import static io.netty.util.collection.LongObjectHashMap.DEFAULT_CAPACITY;
import static io.netty.util.collection.LongObjectHashMap.DEFAULT_LOAD_FACTOR;
import java.util.AbstractSet;
import java.util.Collection;
import java.util.Iterator;
import java.util.function.LongConsumer;
import java.util.stream.LongStream;
import java.util.stream.StreamSupport;
import io.netty.util.collection.LongObjectHashMap;
import io.netty.util.collection.LongObjectMap.PrimitiveEntry;
/**
* This class implements the {@link LongSet} interface, backed by a hash table
* (actually a {@link LongObjectHashMap} instance).
*/
public class LongHashSet extends AbstractSet implements LongSet {
private final LongObjectHashMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy