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()
-
-
-
Method Detail
-
New
public static final _intSet New()
-
New
public static final _intSet New(int... values)
-
NewCustom
public static final _intSet NewCustom(int initialCapacity)
-
NewCustom
public static final _intSet NewCustom(int initialCapacity, int... values)
-
size
public final int size()
-
contains
public final boolean contains(int value)
-
addAll
public final _intSet addAll(int... values)
-
add
public final boolean add(int value)
-
remove
public final boolean remove(int value)
-
clear
public final void clear()
-
ensureFreeCapacity
public final _intSet ensureFreeCapacity(int freeCapacity)
-
iterate
public final <P extends _intProcedure> P iterate(P procedure)
-
toArray
public final int[] toArray()
-
-