scala.collection.decorators

Members list

Type members

Classlikes

class BitSetDecorator[+C <: BitSet & BitSetOps[C]](val bs: C)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class IterableDecorator[C, I <: IsIterable[C]](coll: C)(implicit val it: I)

Attributes

Supertypes
class Object
trait Matchable
class Any
final class IteratorDecorator[A](val this: Iterator[A]) extends AnyVal

Enriches Iterator with additional methods.

Enriches Iterator with additional methods.

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
class MapDecorator[C, M <: IsMap[C]](coll: C)(implicit val map: M)

Attributes

Supertypes
class Object
trait Matchable
class Any
class MutableBitSetDecorator(val bs: BitSet)

Attributes

Supertypes
class Object
trait Matchable
class Any
class SeqDecorator[C, S <: IsSeq[C]](coll: C)(implicit val seq: S)

Type parameters

C

type of the decorated collection (e.g. List[Int], String, etc.)

Value parameters

coll

the decorated collection

seq

evidence that type C is a sequence

Attributes

Supertypes
class Object
trait Matchable
class Any
object View

Views used by decorators

Views used by decorators

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
View.type

Implicits

Implicits

implicit def bitSetDecorator[C <: BitSet & BitSetOps[LazyRef(...)]](bs: C): BitSetDecorator[C]
implicit def iterableDecorator[C](coll: C)(implicit it: IsIterable[C]): IterableDecorator[C, it.type]
implicit def iteratorDecorator[A](it: Iterator[A]): IteratorDecorator[A]
implicit def mapDecorator[C](coll: C)(implicit map: IsMap[C]): MapDecorator[C, map.type]
implicit def seqDecorator[C](coll: C)(implicit seq: IsSeq[C]): SeqDecorator[C, seq.type]