c

monocle

SetterSyntax

final case class SetterSyntax[S, A](self: Setter[S, A]) extends AnyVal with Product with Serializable

Extension methods for monomorphic Setter

Source
Setter.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetterSyntax
  2. Serializable
  3. Product
  4. Equals
  5. AnyVal
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SetterSyntax(self: Setter[S, A])

Value Members

  1. def at[I, A1](i: I)(implicit evAt: At[A, I, A1]): Setter[S, A1]
  2. def each[C](implicit evEach: Each[A, C]): Setter[S, C]
  3. def filter(predicate: (A) => Boolean): Setter[S, A]

    Select all the elements which satisfies the predicate.

    Select all the elements which satisfies the predicate. This combinator can break the fusion property see Optional.filter for more details.

  4. def filterIndex[I, A1](predicate: (I) => Boolean)(implicit ev: FilterIndex[A, I, A1]): Setter[S, A1]
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. def withDefault[A1](defaultValue: A1)(implicit evOpt: =:=[A, Option[A1]]): Setter[S, A1]

Deprecated Value Members

  1. def index[I, A1](i: I, evIndex: Index[A, I, A1]): Setter[S, A1]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) Preserved for bincompat