J.Util.Proxy.Idx.M.AbstractTrait

Source
Idx.scala
trait Idx.Mutable[A]
trait Able.Contain[A]
trait Able.Add[A]
trait Idx[A]
trait Collection[A]
trait Able.Size
trait Able.~[A]
class Object
trait Matchable
class Any

Def

override def add(v: A): Unit
Definition Classes
Source
Idx.scala
override def addAll(v: ~[A]): Unit
Definition Classes
Source
Idx.scala
override def addAllAt(n: Int, e: ~[A]): Unit
Definition Classes
Source
Idx.scala
override def addAt(n: Int, e: A): Unit
Definition Classes
Source
Idx.scala
override def clear: Unit
Definition Classes
Source
Idx.scala
override def contains(v: A): Boolean
Definition Classes
Source
Idx.scala
@targetName("remove_Range")
override def remove_<>(r: <>): Unit
Definition Classes
Source
Idx.scala
override def removeAt(i: Int): Unit
Definition Classes
Source
Idx.scala
override def reposition(v: Permutation): Unit
Definition Classes
Source
Idx.scala
override def sort(using Ordering[A]): Unit
Definition Classes
Source
Idx.scala
override def updateAllAt(i: Int, s: ~[A]): Unit
Definition Classes
Source
Idx.scala
override def updateAt(n: Int, a: A): Unit
Definition Classes
Source
Idx.scala

Inherited

@targetName("stream")
override def ~: ~[A]
Definition Classes
Inherited from
AbstractTrait
Source
Idx.scala
@targetName("addAll")
inline def ++=(inline v: ~[A]): J.Util.Proxy.Idx.M.AbstractTrait[A]

Alias for addAll

Alias for addAll

Calls addAll and returns container

 // Generic example
 val x =  Idx.M(1, 2, 3)

 x ++= (4 <> 6) ++= Stream(7, 8, 9)

 x.~.tp // ~~(1, 2, 3, 4, 5, 6, 7, 8, 9)
Inherited from
Add
Source
Add.scala
@targetName("_addAllAt")
inline def ++=@(inline position: Int, inline v: ~[A]): J.Util.Proxy.Idx.M.AbstractTrait[A]

Alias for addAllAt

Alias for addAllAt

Adds stream elements at given position

  // Generic example
  val x = ('A' <> 'F').~.toBuffer

  x ++=@ (4, 'e' <> 'g') ++=@ (1, ~~('b','c','d'))

  x.~.tp // Prints ~(A, b, c, d, B, C, D, e, f, g, E, F)
Inherited from
Mutable
Source
__.scala
@targetName("add")
inline def +=(inline v: A | Opt[A]): J.Util.Proxy.Idx.M.AbstractTrait[A]

Alias for add

Alias for add

Calls add and returns container

 // Generic example
 val x =  Idx.M(1, 2, 3)

  x += 4 += 5 += 6

  x.~.tp // Prints ~(1, 2, 3, 4, 5, 6)
Inherited from
Add
Source
Add.scala
@targetName("_addAt")
inline def +=@(inline position: Int, inline v: A): J.Util.Proxy.Idx.M.AbstractTrait[A]

Alias for addAt

Alias for addAt

Adds element at given position

  // Generic example
  val x = ('A' <> 'F').~.toBuffer

  x +=@ (3, 'd') +=@ (2, 'c') +=@ (1, 'b') +=@ (0, 'a')

  x.~.tp // Prints ~(a, A, b, B, c, C, d, D, E, F)
Inherited from
Mutable
Source
__.scala
@targetName("_removeAll")
inline def --=(inline v: ~[A]): J.Util.Proxy.Idx.M.AbstractTrait[A]

Alias for removeAll

Alias for removeAll

Removes all collection elements, which are equal to those in given stream

Returns count of removed elements, which can be 0, 1, or many

Inherited from
Mutable
Source
Mutable.scala
@targetName("_remove")
inline def -=(inline v: A): J.Util.Proxy.Idx.M.AbstractTrait[A]

Alias for remove

Alias for remove

Removes all collection elements, which are equal to the given value

Returns count of removed elements, which can be 0, 1, or many

Inherited from
Mutable
Source
Mutable.scala
@targetName("add_Opt")
def add_?(o: Opt[A]): Unit

Optional add

Optional add

Adds element if option has value, does nothing for void option

Inherited from
Add
Source
Add.scala
override def apply(i: Int): A
Definition Classes
Inherited from
AbstractTrait
Source
Idx.scala
def isEmpty: Boolean
Inherited from
Size
Source
Size.scala
override def remove(v: A): Int
Definition Classes
Inherited from
AbstractTrait
Source
Collection.scala
override def removeAll(s: ~[A]): Int
Definition Classes
Inherited from
AbstractTrait
Source
Collection.scala
def replaceAll(v: ~[A]): Unit

Replace everything

Replace everything

Discards all old elements and adds all provided elements

Inherited from
Mutable
Source
Mutable.scala
override def size: Int
Definition Classes
Inherited from
AbstractTrait
Source
Collection.scala