Collection

object Collection
Companion
class
Source
__.scala
class Object
trait Matchable
class Any

Member

trait Mutable[A] extends Collection[A] with Able.Add[A]
trait Mutable[A] extends Collection[A] with Able.Add[A]
trait Observable[A] extends Collection[A] with Observable

Observable Collection

Observable collection allows to track add, remove changes by subscribing to the events

Companion
object
Source
Observable.scala
trait Observable[A] extends Collection[A] with Observable

Observable Collection

Observable collection allows to track add, remove changes by subscribing to the events

Companion
object
Source
Observable.scala
abstract class StableSet[A] extends Collection[A] with Able.Contain[A]

StableSet is an immutable collection with no duplicate values

StableSet has global alias and can be called without parent prefix Collection.StableSet

When an elements is joined to StableSet, it is evaluated for uniqueness and the operation is ignored in case of duplicates.

Note: StableSet is a concrete single implementation of unique collection. General "Set" interface cannot be justified due to limited use. If there is a rare need for more efficient "Set", use Collection.Mutable.uniqueElementSet

Companion
object
Source
StableSet.scala
abstract class StableSet[A] extends Collection[A] with Able.Contain[A]

StableSet is an immutable collection with no duplicate values

StableSet has global alias and can be called without parent prefix Collection.StableSet

When an elements is joined to StableSet, it is evaluated for uniqueness and the operation is ignored in case of duplicates.

Note: StableSet is a concrete single implementation of unique collection. General "Set" interface cannot be justified due to limited use. If there is a rare need for more efficient "Set", use Collection.Mutable.uniqueElementSet

Companion
object
Source
StableSet.scala

Def

def apply[A](v: A): Collection[A]
Source
__.scala
def apply[A](v1: A, v2: A): Collection[A]
Source
__.scala
def apply[A](v1: A, v2: A, v3: A, vs: A*): Collection[A]
Source
__.scala
inline def contains[A](inline v: A): Boolean
Source
__.scala
inline def flatMap[A](inline f: A => ~[B]): ~[B]
Source
__.scala
inline def foreach[A](inline f: A => U): Unit
Source
__.scala
@targetName("fun_View")
inline def fun_^[A](inline f: A => B): Collection[B]
Source
__.scala
inline def map[A](inline f: A => B): ~[B]
Source
__.scala
@targetName("readOnly_View")
inline def readOnly_^[A]: Collection[A]
Source
__.scala
def unapplySeq[A](v: Collection[A]): Option[Seq[A]]
Source
__.scala
@targetName("getVoid")
def void[A]: Collection[A]

Get void instance

Get void instance

Source
__.scala