it.unich.scalafix.assignments
package it.unich.scalafix.assignments
This package handles assignments of values to unknowns.
Type members
Classlikes
class ArrayBasedMutableAssignment[V](rho: Int => V, size: Int)(using evidence$1: ClassTag[V]) extends MutableAssignment[Int, V]
A mutable assignment backed by an array.
A mutable assignment backed by an array.
- Value parameters:
- rho
the initial value of this assignment.
- size
the size of the array. This assignment may only be used for unknowns in the range from
0
tosize-1
.
- Source:
- ArrayBasedMutableAssignment.scala
class MapBasedMutableAssignment[U, V](rho: U => V, factory: MapFactory[Map]) extends MutableAssignment[U, V]
A mutable assignment backed by a mutable map.
A mutable assignment backed by a mutable map.
- Value parameters:
- factory
a factory for maps. Changing this parameter it is possible to choose which implementation of mutable maps we want to use.
- rho
the initial value of this assignment.
- Source:
- MapBasedMutableAssignment.scala
An assignment with an human-readable result for the toString
method.
An assignment with an human-readable result for the toString
method.
- Source:
- StandardAssignment.scala