lenses
lenses
API
scalapb.lenses
CompatLensImplicits
SeqLikeLens
SetLens
CompatLensImplicits
Lens
Lens
MapLens
OptLens
MessageLens
ObjectLens
Updatable
lenses
/
scalapb.lenses
/
Lens
/
MapLens
MapLens
scalapb.lenses.Lens.MapLens
final implicit
class
MapLens
[
U
,
A
,
B
](
val
lens
:
Lens
[
U
,
Map
[
A
,
B
]])
extends
AnyVal
Implicit that adds some syntactic sugar if our lens watches a Map[_, _].
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
AnyVal
trait
Matchable
class
Any
Members list
Clear all
Value members
Concrete methods
def
:++=
(
item
:
Iterable
[(
A
,
B
)]): ()
=>
U
def
:+=
(
pair
: (
A
,
B
)): ()
=>
U
def
apply
(
key
:
A
):
Lens
[
U
,
B
]
def
foreach
(
f
: (
Lens
[(
A
,
B
), (
A
,
B
)])
=>
()
=>
(
A
,
B
)): ()
=>
U
def
foreachValue
(
f
: (
Lens
[
B
,
B
])
=>
()
=>
B
): ()
=>
U
def
mapValues
(
f
:
B
=>
B
): ()
=>
U
Concrete fields
val
lens
:
Lens
[
U
,
Map
[
A
,
B
]]
In this article
Attributes
Members list
Value members
Concrete methods
Concrete fields