Float.G.Idx.Mutable
trait Mutable[A <: RAW] extends Float.G.Idx[A] with Float.G.Collection.Mutable[A] with Idx.Mutable[A]
- Source
- Idx.scala
trait Idx.Mutable[A]
trait Float.G.Collection.Mutable[A]
trait Collection.Mutable[A]
trait Able.Add[A]
trait Float.G.Idx[A]
trait Float.G.Collection[A]
trait Info.Specialized.OnFloat
trait Info.Specialized
trait Able.Contain[A]
trait Idx[A]
trait Collection[A]
trait Able.Size
trait Able.Empty
trait Able.~[A]
class Object
trait Matchable
class Any
class Float.G.Buffer[A]
Def
Inherited inherited
@targetName("_removeAll")
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")
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
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).~.toBuffer
val p = Idx.Permutation.pairs(3 -> 7, 7 -> 3, 4 -> 6, 6 -> 4)
im.~.tp
im.reposition(p)
im.~.tp
// Output
~(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
~(0, 1, 2, 7, 6, 5, 4, 3, 8, 9)