scala / 3.1 / scala / collection / immutable / bitset$.html

Object scala.collection.immutable.BitSet

@nowarn("cat=deprecation&msg=Implementation classes of BitSet should not be accessed directly") @SerialVersionUID(3L)

This object provides a set of operations to create immutable.BitSet values.

Supertypes
Self type

Concrete methods

Source
def fromBitMask(elems: Array[Long]): BitSet

A bitset containing all the bits in an array

Source

A bitset containing all the bits in an array, wrapping the existing array without copying.

Source

Source

Inherited methods

Source
def apply(xs: Int*): BitSet

Inherited from SpecificIterableFactory

Source
def fill(n: Int)(elem: => Int): BitSet

Inherited from SpecificIterableFactory

Concrete fields

Source
final val empty: BitSet

Inherited implicits

Source

Inherited from SpecificIterableFactory

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/immutable/BitSet$.html