Bit Enum Set
data class BitEnumSet<T : Enum<T>>(map: Map<T, Int>, value: Int) : MutableSet<T>
Content copied to clipboard
Represents the mutable set of enumeration items mapped into a bit mask.
Author
Alexander Kornilov (akornilov.82@gmail.com).
Parameters
map
a map between enum elements and bit masks.
value
a value of the set as a bit mask.
Throws
if bit masks have intersections.
Constructors
BitEnumSet
Link copied to clipboard
Functions
addAll
Link copied to clipboard
containsAll
Link copied to clipboard
iterator
Link copied to clipboard
parallelStream
Link copied to clipboard
removeAll
Link copied to clipboard
retainAll
Link copied to clipboard
spliterator
Link copied to clipboard