- Source
- __.scala
Member
Mutable Indexed Collection
Mutable indexed collection provides methods to modify its content based on element position
- Source
- __.scala
Mutable Indexed Collection
Mutable indexed collection provides methods to modify its content based on element position
- Source
- __.scala
Observable Indexed Collection
Observable Idx collection allows to track all the changes by subscribing to onChange
event
- Source
- __.scala
Observable Indexed Collection
Observable Idx collection allows to track all the changes by subscribing to onChange
event
- Source
- __.scala
Permutation is a precise definition on how elements within index range should be reorganized
Consider ordering a buffer of integers. This could be accomplished it two steps:
- Based on some Ordering, we create a Permutation object, which captures all necessary positions
- Apply permutation to the buffer
val buf = Stream(0, 3, 1, 2, 4).toBuffer
buf.stream.tp // Prints: Stream(0, 3, 1, 2, 4)
// Creating permutation based on given ordering
val p = Idx.Permutation.sorting(buffer)
p.tp // Prints: Permutation{range=1 <>> 4,(1,3)(2,1)(3,2)}
p.reposition(buf) // Applying permutation
buf.stream.tp // Prints Stream(0, 1, 2, 3, 4)
- Source
- __.scala
Permutation is a precise definition on how elements within index range should be reorganized
Consider ordering a buffer of integers. This could be accomplished it two steps:
- Based on some Ordering, we create a Permutation object, which captures all necessary positions
- Apply permutation to the buffer
val buf = Stream(0, 3, 1, 2, 4).toBuffer
buf.stream.tp // Prints: Stream(0, 3, 1, 2, 4)
// Creating permutation based on given ordering
val p = Idx.Permutation.sorting(buffer)
p.tp // Prints: Permutation{range=1 <>> 4,(1,3)(2,1)(3,2)}
p.reposition(buf) // Applying permutation
buf.stream.tp // Prints Stream(0, 1, 2, 3, 4)
- Source
- __.scala
Alias
Def
Implicit
General void instance request
General void instance request
It is possible to use general request VOID to get void instance of this type, thanks to this implicit conversion.
- Source
- __.scala