Long.G.Pack

class Pack[A <: Any.Long] extends Val.Pack[A] with Long.G.Idx[A]

Long Specialized Generic Pack Collection

To be used with Long based opaque values.

Source
Pack.scala
trait Long.G.Idx[Long.G.Pack.A]
trait Long.G.Collection[Long.G.Pack.A]
trait Any.Z.PrimitiveTag.Long
trait Any.Z.PrimitiveTag
trait Able.Contain[Long.G.Pack.A]
class Pack[Long.G.Pack.A]
trait Idx[Long.G.Pack.A]
trait Collection[Long.G.Pack.A]
trait Able.Size
trait Able.Stream[Long.G.Pack.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

Creates a new Pack with given value appended to the end of current Pack

Inherited from
Pack
Source
__.scala
@targetName("joinAll")
inline def ++(v: Stream[A]): this.type

Alias for joinAll

Alias for joinAll

Creates a new Pack with given stream values appended to the end of current Pack

Inherited from
Pack
Source
__.scala
@targetName("joinAllAt")
inline def ++@(i: Int, v: Stream[A]): this.type

Alias for joinAllAt

Alias for joinAllAt

Creates a new Pack with given stream values inserted into current Pack at given position

Inherited from
Pack
Source
__.scala
@targetName("join")
inline def +@(i: Int, v: A): this.type

Alias for joinAt

Alias for joinAt

Creates a new Pack with given value inserted into current Pack at given position

Inherited from
Pack
Source
__.scala
def apply(i: Int): A
override def contains(v: A): Boolean
Definition Classes
Source
Pack.scala
inline def dropFirst(cnt: Int): this.type

Head reversed filter

Head reversed filter

Creates a new Pack from current Pack, skipping given number of first elements

Inherited from
Pack
Source
__.scala
inline def dropLast(cnt: Int): this.type

Tail reversed filter

Tail reversed filter

Creates a new Pack from current Pack, skipping given number of last elements

Inherited from
Pack
Source
__.scala
def dropRange(from: Int, sz: Int): Long.G.Pack[A]
inline def dropRange(r: Int.Range): this.type

Range reversed filter

Range reversed filter

Creates a new Pack from current Pack, skipping elements within given range

Inherited from
Pack
Source
__.scala
inline def foreach[U](f: A => U): Unit

Process all elements

Process all elements

Applies given function to each Pack element.

This method is more eficient than Stream foreach.

Inherited from
Pack
Source
__.scala
def join(v: A): Long.G.Pack[A]
def joinAll(vs: Stream[A]): Long.G.Pack[A]
def joinAllAt(i: Int, vs: Stream[A]): Long.G.Pack[A]
def joinAt(i: Int, v: A): Long.G.Pack[A]
inline def raw(using sp: Specialized.Primitive[A]): s.Pack

Specialize

Specialize

This operation will not compile for reference types

Returns specialized pack for undelying primitive type

Note: If this instance is already specialized, it is returned as is

Inherited from
Pack
Source
__.scala
def size: Int
override def stream: Long.G.Stream[A]
Definition Classes
Source
Pack.scala
inline def takeFirst(cnt: Int): this.type

Head filter

Head filter

Creates a new Pack from current Pack, taking only given number of first elements

Inherited from
Pack
Source
__.scala
inline def takeLast(cnt: Int): this.type

Tail filter

Tail filter

Creates a new Pack from current Pack, taking only given number of last elements

Inherited from
Pack
Source
__.scala
def takeRange(from: Int, sz: Int): Long.G.Pack[A]
inline def takeRange(r: Int.Range): this.type

Range filter

Range filter

Creates a new Pack from current Pack, taking only elements within given range

Inherited from
Pack
Source
__.scala