final case class Lens[A, B](get: (A) => B, set: (A, B) => A) extends Product with Serializable
- Source
- lens.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Lens
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Lens(get: (A) => B, set: (A, B) => A)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def %=(f: (B) => B): State[A, B]
- def :=(b: => B): State[A, B]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >=>[C](bc: Lens[B, C]): Lens[A, C]
- def andThen[C](bc: Lens[B, C]): Lens[A, C]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def compose[C](bc: Lens[C, A]): Lens[C, B]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val get: (A) => B
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modify(a: A, f: (B) => B): A
- def mods(f: (B) => B): State[A, B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val set: (A, B) => A
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def xmapA[AA](f: (AA) => A, g: (A) => AA): Lens[AA, B]
- def xmapB[BB](f: (BB) => B, g: (B) => BB): Lens[A, BB]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)