CollectionCommand

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class Append[+Item](item: Item) extends CollectionCommand[Item]
case class Insert[+Item](item: Item, atIndex: Int) extends CollectionCommand[Item]
case class Move[+Item](item: Item, toIndex: Int) extends CollectionCommand[Item]
Value parameters:
toIndex

the index at which the item would end up IF it hadn't been removed from its current position. basically, this is the CURRENT index of an item in front of which the item will be moved to.

case class Prepend[+Item](item: Item) extends CollectionCommand[Item]
case class Remove[+Item](item: Item) extends CollectionCommand[Item]
case class Replace[+Item](oldItem: Item, newItem: Item) extends CollectionCommand[Item]
case class ReplaceAll[+Item](newItems: Iterable[Item]) extends CollectionCommand[Item]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def vectorProcessor[Item](prevItems: Vector[Item], command: CollectionCommand[Item]): Vector[Item]