BitSetDecorator

scala.collection.decorators.BitSetDecorator
See theBitSetDecorator companion object
class BitSetDecorator[+C <: BitSet & BitSetOps[C]](val bs: C)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def <<(shiftBy: Int): C

Bitwise left shift of this BitSet by the given shift distance. The shift distance may be negative, in which case this method performs a right shift.

Bitwise left shift of this BitSet by the given shift distance. The shift distance may be negative, in which case this method performs a right shift.

Attributes

shiftBy

shift distance, in bits

Returns:

a new BitSet whose value is a bitwise shift left of this BitSet by given shift distance (shiftBy)

def >>(shiftBy: Int): C

Bitwise right shift of this BitSet by the given shift distance. The shift distance may be negative, in which case this method performs a left shift.

Bitwise right shift of this BitSet by the given shift distance. The shift distance may be negative, in which case this method performs a left shift.

Attributes

shiftBy

shift distance, in bits

Returns:

a new BitSet whose value is a bitwise shift right of this BitSet by given shift distance (shiftBy)