Short.G.><

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

Def

@targetName("stream")
override def ~: Short.G.~[A]
Definition Classes
Source
Pack.scala
def apply(i: Int): A
override def contains(v: A): Boolean
Definition Classes
Source
Pack.scala
@targetName("drop_Range")
def drop_<>(from: Int, sz: Int): Short.G.><[A]
def join(v: A): Short.G.><[A]
def joinAll(vs: ~[A]): Short.G.><[A]
def joinAllAt(i: Int, vs: ~[A]): Short.G.><[A]
def joinAt(i: Int, v: A): Short.G.><[A]
def size: Int
@targetName("take_Range")
def take_<>(from: Int, sz: Int): Short.G.><[A]

Inherited

@targetName("_join")
inline def +(inline 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 ++(inline v: ~[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 ++@(inline i: Int, inline v: ~[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("_joinAt")
inline def +@(inline i: Int, inline 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
@targetName("drop_Range")
inline def drop_<>(r: <>): 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 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 head: A

First element

First element

Returns first elements or fails for empty Pack

Use head_? for safer access

Inherited from
Pack
Source
__.scala
@targetName("head_Opt")
def head_?: Opt[A]

First optional element

First optional element

Returns first elements or empty option for empty Pack

Inherited from
Pack
Source
__.scala
def isEmpty: Boolean
Inherited from
Size
Source
Size.scala
inline def raw[PACK <: Raw[A]](using inline s: Shape.OfPack.Tag.Raw[A, PACK]): PACK

Specialize

Specialize

This operation will not compile for reference types

Returns specialized List for undelying primitive type

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

Inherited from
Pack
Source
__.scala
def tail: ><[A]

Pack without first element

Pack without first element

Note. The returned tail can be empty

Inherited from
Pack
Source
__.scala
@targetName("take_Range")
inline def take_<>(r: <>): THIS_TYPE

Range filter

Range filter

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

Inherited from
Pack
Source
__.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