Char.G.Collection.StableSet

class StableSet[A <: Raw.Char] extends Collection.StableSet[A] with Char.G.Collection[A]
trait Able.Contain[A]
trait Collection[A]
trait Able.Size
trait Able.~[A]
class java.lang.Object
trait scala.Matchable
class Any

Def

@scala.annotation.targetName("stream")
def ~: Char.G.~[A]
@scala.annotation.targetName("_join")
inline def +(inline v: A): this.type

Alias for join

Alias for join

If given value does not exist in current collection, a new StableSet is created with this value

 var set: StableSet[Int] = \/

 set = set + 1 + 2 + 3 + 1 + 2 + 3

 set.~.tp  // Prints ~(1, 2, 3)
Inherited from
StableSet
Source
StableSet.scala
@scala.annotation.targetName("_joinAll")
inline def ++(inline v: ~[A]): this.type

Alias for joinAll

Alias for joinAll

Creates a StableSet with a stream of only unique elements joined in

 var set: StableSet[Int] = \/

 set = set ++ (1 <> 5) ++ (3 <> 8) ++ (5 <> 10)

 set.~.sort.tp  // Prints ~(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
Inherited from
StableSet
Source
StableSet.scala
@scala.annotation.targetName("pack")
def ><: Char.G.><[A]
Inherited from
Collection
Source
Collection.scala
override def contains(v: A): Boolean
Definition Classes
Source
Collection.scala
override def isEmpty: Boolean

Empty check

Empty check

Returns true if instance is empty.

Definition Classes
Inherited from
Size
Source
Size.scala
def size: Int