Package one.microstream.collections
Class _intSet
java.lang.Object
one.microstream.collections._intSet
- All Implemented Interfaces:
Composition
public final class _intSet extends Object implements Composition
Simple primitive int set implementation.
-
Constructor Summary
Constructors Constructor Description _intSet()
-
Method Summary
Modifier and Type Method Description boolean
add(int value)
_intSet
addAll(int... values)
void
clear()
boolean
contains(int value)
_intSet
ensureFreeCapacity(int freeCapacity)
<P extends _intProcedure>
Piterate(P procedure)
static _intSet
New()
static _intSet
New(int... values)
static _intSet
NewCustom(int initialCapacity)
static _intSet
NewCustom(int initialCapacity, int... values)
boolean
remove(int value)
int
size()
int[]
toArray()
String
toString()
-
Constructor Details
-
_intSet
public _intSet()
-
-
Method Details
-
New
-
New
-
NewCustom
-
NewCustom
-
size
public final int size() -
contains
public final boolean contains(int value) -
addAll
-
add
public final boolean add(int value) -
remove
public final boolean remove(int value) -
clear
public final void clear() -
ensureFreeCapacity
-
iterate
-
toArray
public final int[] toArray() -
toString
-