BitSet

scala.collection.immutable.BitSet
See theBitSet companion class

This object provides a set of operations to create Iterable values.

Attributes

Companion
class
Source
BitSet.scala
Graph
Supertypes
trait Factory[Int, BitSet]
class Object
trait Matchable
class Any
Self type
BitSet.type

Members list

Type members

Deprecated classlikes

class BitSet1(val elems: Long) extends BitSet

Attributes

Deprecated
[Since version 2.13.0] Implementation classes of BitSet should not be accessed directly
Source
BitSet.scala
Supertypes
class BitSet2(val elems0: Long, val elems1: Long) extends BitSet

Attributes

Deprecated
[Since version 2.13.0] Implementation classes of BitSet should not be accessed directly
Source
BitSet.scala
Supertypes
class BitSetN(val elems: Array[Long]) extends BitSet

Attributes

Deprecated
[Since version 2.13.0] Implementation classes of BitSet should not be accessed directly
Source
BitSet.scala
Supertypes

Value members

Concrete methods

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

A bitset containing all the bits in an array.

A bitset containing all the bits in an array.

Value parameters

elems

the array of Long words representing the bits; the array is defensively copied

Attributes

Source
BitSet.scala

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

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

Value parameters

elems

the array of Long words representing the bits; the caller must not modify the array after this call

Attributes

Source
BitSet.scala

Value parameters

it

the source of elements to include in the collection

Attributes

Returns

a collection of type C containing the elements from it

Source
BitSet.scala

Gets a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.

Gets a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.

Attributes

Source
BitSet.scala

Inherited methods

def apply(xs: Int*): BitSet

Attributes

Inherited from:
SpecificIterableFactory
Source
Factory.scala
def fill(n: Int)(elem: => Int): BitSet

Attributes

Inherited from:
SpecificIterableFactory
Source
Factory.scala

Concrete fields

final val empty: BitSet

Attributes

Source
BitSet.scala

Implicits

Inherited implicits

Attributes

Inherited from:
SpecificIterableFactory
Source
Factory.scala