case class MapLensFamily[S1, S2, K, V](lens: LensFamily[S1, S2, Map[K, V], Map[K, V]]) extends Product with Serializable
A lens that views an immutable Map type can provide a mutable.Map-like API via State
- Source
- Lens.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MapLensFamily
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MapLensFamily(lens: LensFamily[S1, S2, Map[K, V], Map[K, V]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def ++=(xs: TraversableOnce[(K, V)]): IndexedState[S1, S2, Map[K, V]]
- def +=(elem: (K, V)): IndexedState[S1, S2, Map[K, V]]
- def +=(elem1: (K, V), elem2: (K, V), elems: (K, V)*): IndexedState[S1, S2, Map[K, V]]
- def --=(xs: TraversableOnce[K]): IndexedState[S1, S2, Map[K, V]]
- def -=(elem1: K, elem2: K, elems: K*): IndexedState[S1, S2, Map[K, V]]
- def -=(elem: K): IndexedState[S1, S2, Map[K, V]]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
at(k: K): LensFamily[S1, S2, V, V]
This lens has undefined behavior when accessing an element not present in the map!
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lens: LensFamily[S1, S2, Map[K, V], Map[K, V]]
-
def
member(k: K): LensFamily[S1, S2, Option[V], Option[V]]
Allows both viewing and setting the value of a member of the map
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def update(key: K, value: V): IndexedState[S1, S2, Unit]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()