c

monocle

TraversalSyntax

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

Extension methods for monomorphic Traversal

Source
Traversal.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraversalSyntax
  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 TraversalSyntax(self: Traversal[S, A])

Value Members

  1. def at[I, A1](i: I)(implicit evAt: At[A, I, A1]): Traversal[S, A1]
  2. def each[C](implicit evEach: Each[A, C]): Traversal[S, C]
  3. def filter(predicate: (A) => Boolean): Traversal[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]): Traversal[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]]): Traversal[S, A1]

Deprecated Value Members

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

    (Since version 3.1.0) Preserved for bincompat