Long.G.Collection.StableSet

class StableSet[A <: RAW] extends Collection.StableSet[A] with Long.G.Collection[A]
Companion
object
Source
Collection.scala
trait Able.Contain[A]
trait Collection[A]
trait Able.Size
trait Able.~[A]
class Object
trait Matchable
class Any

Def

@targetName("stream")
def ~: Long.G.~[A]
override def contains(v: A): Boolean
Definition Classes
Source
Collection.scala
def size: Int

Inherited

@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
@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
def isEmpty: Boolean
Inherited from
Size
Source
Size.scala