public final class GrphIntSet
extends toools.collections.primitive.SelfAdaptiveIntSet
Constructor and Description |
---|
GrphIntSet(int expectedNbVertices) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(int element) |
void |
clear() |
int |
getLowestIDAvailable() |
boolean |
remove(int element) |
addAll, contains, getDensity, getGreatest, getImplementationClass, isEmpty, iterator, main, pickRandomElement, size
add, addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toIntArray, toIntArray, toString
addAll, containsAll, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
difference, equals, singleton, toString_numbers_only, toString, unmodifiable, unmodifiable, writeTo
addAll, containsAll, removeAll, retainAll, toArray, toIntArray, toIntArray
public int getLowestIDAvailable()
public boolean add(int element)
add
in interface it.unimi.dsi.fastutil.ints.IntCollection
add
in class toools.collections.primitive.SelfAdaptiveIntSet
public boolean remove(int element)
remove
in interface it.unimi.dsi.fastutil.ints.IntSet
remove
in class toools.collections.primitive.SelfAdaptiveIntSet
public void clear()
clear
in interface java.util.Collection<java.lang.Integer>
clear
in interface java.util.Set<java.lang.Integer>
clear
in class toools.collections.primitive.SelfAdaptiveIntSet