You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike Java's EnumSet, an Enumeration.ValueSet in Scala is not based on a bit set. Conversions between ValueSets and bit masks can currently be implemented like this:
Such conversion method should be built in (not even BitSet itself currently provides a way of getting a bit mask out), and be based on a more efficient implementation like Java's EnumSet.
The text was updated successfully, but these errors were encountered:
Unlike Java's EnumSet, an Enumeration.ValueSet in Scala is not based on a bit set. Conversions between ValueSets and bit masks can currently be implemented like this:
Such conversion method should be built in (not even BitSet itself currently provides a way of getting a bit mask out), and be based on a more efficient implementation like Java's EnumSet.
The text was updated successfully, but these errors were encountered: