monocle

Getter

Related Docs: object Getter | package monocle

final class Getter[S, A] extends AnyRef

A Getter can be seen as a glorified get method between a type S and a type A.

A Getter is also a valid Fold

S

the source of a Getter

A

the target of a Getter

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Getter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def ^<->[B, C, D](other: PIso[A, B, C, D]): Getter[S, C]

    alias to composeIso

    alias to composeIso

    Annotations
    @inline()
  5. def ^<-?[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]

    alias to composePrism

    alias to composePrism

    Annotations
    @inline()
  6. def ^|->[B, C, D](other: PLens[A, B, C, D]): Getter[S, C]

    alias to composeLens

    alias to composeLens

    Annotations
    @inline()
  7. def ^|->>[B, C, D](other: PTraversal[A, B, C, D]): Fold[S, C]

    alias to composeTraversal

    alias to composeTraversal

    Annotations
    @inline()
  8. def ^|-?[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]

    alias to composeOptional

    alias to composeOptional

    Annotations
    @inline()
  9. def asFold: Fold[S, A]

    view a Getter with a Fold

    view a Getter with a Fold

    Annotations
    @inline()
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def composeFold[B](other: Fold[A, B]): Fold[S, B]

    compose a Getter with a Fold

    compose a Getter with a Fold

    Annotations
    @inline()
  13. def composeGetter[B](other: Getter[A, B]): Getter[S, B]

    compose a Getter with a Getter

    compose a Getter with a Getter

    Annotations
    @inline()
  14. def composeIso[B, C, D](other: PIso[A, B, C, D]): Getter[S, C]

    compose a Getter with a PIso

    compose a Getter with a PIso

    Annotations
    @inline()
  15. def composeLens[B, C, D](other: PLens[A, B, C, D]): Getter[S, C]

    compose a Getter with a PLens

    compose a Getter with a PLens

    Annotations
    @inline()
  16. def composeOptional[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]

    compose a Getter with a POptional

    compose a Getter with a POptional

    Annotations
    @inline()
  17. def composePrism[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]

    compose a Getter with a PPrism

    compose a Getter with a PPrism

    Annotations
    @inline()
  18. 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()
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. val get: (S) ⇒ A

    get the target of a Getter

  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped