- Source
- Idx.scala
trait Idx.Mutable[Char.G.Idx.Mutable.A]
trait Char.G.Collection.Mutable[Char.G.Idx.Mutable.A]
trait Collection.Mutable[Char.G.Idx.Mutable.A]
trait Able.Add[Char.G.Idx.Mutable.A]
trait Char.G.Idx[Char.G.Idx.Mutable.A]
trait Char.G.Collection[Char.G.Idx.Mutable.A]
trait Any.Z.PrimitiveTag.Char
trait Any.Z.PrimitiveTag
trait Able.Contain[Char.G.Idx.Mutable.A]
trait Idx[Char.G.Idx.Mutable.A]
trait Collection[Char.G.Idx.Mutable.A]
trait Able.Size
trait Able.Stream[Char.G.Idx.Mutable.A]
class java.lang.Object
trait scala.Matchable
class Any
class Char.G.Buffer[Char.G.Buffer.A]
Def
Alias for removeAll
Alias for removeAll
Removes all collection elements, which are equal to those in given stream
Returns the collection itself
- Inherited from
- Mutable
- Source
- Mutable.scala
Alias for remove
Alias for remove
Removes all collection elements, which are equal to the given value
Returns the collection itself
- Inherited from
- Mutable
- Source
- Mutable.scala
Remove all streamed
Remove all streamed
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
Replace everything
Replace everything
Discards all old elements and adds all provided elements
- Inherited from
- Mutable
- Source
- Mutable.scala
Reorganizes elements
Reorganizes elements
Reorganizes elements according to the given permutation
val im: Idx.Mutable[Int] = (0 <> 9).stream.toBuffer
val p = Idx.Permutation.pairs(3 -> 7, 7 -> 3, 4 -> 6, 6 -> 4)
im.stream.tp
im.reposition(p)
im.stream.tp
// Output
Stream(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Stream(0, 1, 2, 7, 6, 5, 4, 3, 8, 9)