abstract class Getter[S, A] extends Serializable
A Getter can be seen as a glorified get method between a type S and a type A.
- Self Type
- Getter[S, A]
- Source
- Getter.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Getter
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Getter()
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ^<->[B, C, D](other: PIso[A, B, C, D]): Getter[S, C]
alias to composeIso
alias to composeIso
- Annotations
- @inline()
- final def ^<-?[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]
alias to composePrism
alias to composePrism
- Annotations
- @inline()
- final def ^|->[B, C, D](other: PLens[A, B, C, D]): Getter[S, C]
alias to composeLens
alias to composeLens
- Annotations
- @inline()
- final def ^|->>[B, C, D](other: PTraversal[A, B, C, D]): Fold[S, C]
alias to composeTraversal
alias to composeTraversal
- Annotations
- @inline()
- final def ^|-?[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]
alias to composeOptional
alias to composeOptional
- Annotations
- @inline()
- final def asFold: Fold[S, A]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def choice[S1](other: Getter[S1, A]): Getter[Either[S, S1], A]
join two Getter with the same target
join two Getter with the same target
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def composeFold[B](other: Fold[A, B]): Fold[S, B]
- final def composeGetter[B](other: Getter[A, B]): Getter[S, B]
- final def composeIso[B, C, D](other: PIso[A, B, C, D]): Getter[S, C]
- final def composeLens[B, C, D](other: PLens[A, B, C, D]): Getter[S, C]
- final def composeOptional[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]
- final def composePrism[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]
- final def composeTraversal[B, C, D](other: PTraversal[A, B, C, D]): Fold[S, C]
compose a Getter with a PTraversal
compose a Getter with a PTraversal
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def exist(p: (A) => Boolean): (S) => Boolean
check if the target satisfies the predicate
check if the target satisfies the predicate
- Annotations
- @inline()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def find(p: (A) => Boolean): (S) => Option[A]
find if the target satisfies the predicate
find if the target satisfies the predicate
- Annotations
- @inline()
- final def first[B]: Getter[(S, B), (A, B)]
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def left[C]: Getter[Either[S, C], Either[A, C]]
- Annotations
- @inline()
- 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 right[C]: Getter[Either[C, S], Either[C, A]]
- Annotations
- @inline()
- final def second[B]: Getter[(B, S), (B, A)]
- Annotations
- @inline()
- final def split[S1, A1](other: Getter[S1, A1]): Getter[(S, S1), (A, A1)]
pair two disjoint Getter
pair two disjoint Getter
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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 zip[A1](other: Getter[S, A1]): Getter[S, (A, A1)]
- Annotations
- @inline()