Long.G.Set

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

Long Specialized Generic Set

To be used with Long based opaque values.

Source
Set.scala
trait Long.G.Collection[Long.G.Set.A]
trait Any.Z.PrimitiveTag.Long
trait Any.Z.PrimitiveTag
class Set[Long.G.Set.A]
trait Able.Contain[Long.G.Set.A]
trait Collection[Long.G.Set.A]
trait Able.Size
trait Able.Stream[Long.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): Long.G.Set[A]
Source
Set.scala
def joinAll(v: Stream[A]): Long.G.Set[A]
Source
Set.scala
def size: Int
Source
Set.scala