Able.Add
Generic Add
Adding elements to some target container
- Source
- Add.scala
class java.lang.Object
trait scala.Matchable
class Any
trait Collection.Mutable[Collection.Mutable.A]
trait Collection.ObservableMutable[Collection.ObservableMutable.A]
Def
Add
Add
Adds given value to target container
// Generic example
val x = Idx.M(1, 2, 3)
x.add(4)
x.add(5)
x.add(6)
x.stream.tp // Prints Stream(1, 2, 3, 4, 5, 6)
- Source
- Add.scala