BitSet32
Immutable Set implementation that can store values in range 0..31.
To create an instance of this class, see BitSet32.of, BitSet32.full and BitSet32.empty.
Instances of this class have the following particularities:
Operations on a single element execute in
O(1).Memory usage is
O(1): exactly 32 bits when unboxed.
See also
Mutable alternative.
Functions
Link copied to clipboard
Link copied to clipboard
Copies a regular Set into a mutable set optimized for enumerations.
Link copied to clipboard