Int.G.Set

class Set[A <: Any.Int] extends Val.Set[A] with Int.G.Collection[A]

Int Specialized Generic Set

To be used with Int based opaque values.

Source
Set.scala
trait Int.G.Collection[Int.G.Set.A]
trait Any.Z.PrimitiveTag.Int
trait Any.Z.PrimitiveTag
class Set[Int.G.Set.A]
trait Able.Contain[Int.G.Set.A]
trait Collection[Int.G.Set.A]
trait Able.Size
trait Able.Stream[Int.G.Set.A]
class java.lang.Object
trait scala.Matchable
class Any

Def

@targetName("join")
inline def +(v: A): this.type

Alias for join

Alias for join

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

 var set: Set[Int]=VOID

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

 set.stream.tp  // Prints Stream(1, 2, 3)
Inherited from
Set
Source
__.scala
@targetName("joinAll")
inline def ++(v: Stream[A]): this.type

Alias for joinAll

Alias for joinAll

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

 var set: Set[Int]=VOID

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

 set.stream.sort.tp  // Prints Stream(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
Inherited from
Set
Source
__.scala
override def contains(v: A): Boolean
Definition Classes
Source
Set.scala
def join(v: A): Int.G.Set[A]
Source
Set.scala
def joinAll(v: Stream[A]): Int.G.Set[A]
Source
Set.scala
def size: Int
Source
Set.scala