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]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Getter
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[\/[S, S1], A]
join two Getter with the same target
join two Getter with the same target
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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: Any): 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[java.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[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
left[C]: Getter[\/[S, C], \/[A, C]]
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
right[C]: Getter[\/[C, S], \/[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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
zip[A1](other: Getter[S, A1]): Getter[S, (A, A1)]
- Annotations
- @inline()