kotlin-utils
/
loggersoft.kotlin.utils
/
BitEnumSet
/
BitEnumSet
Bit
Enum
Set
fun <
T
:
Enum
<
T
>>
BitEnumSet
(map:
Map
<
T
,
Int
>, value:
Int
= 0)
Content copied to clipboard
Parameters
map
a map between enum elements and bit masks.
value
a value of the set as a bit mask.