FilterIndex

monocle.function.FilterIndex
See theFilterIndex companion object
abstract class FilterIndex[S, I, A] extends Serializable

Typeclass that defines a Traversal from an S to all its elements A whose index I in S satisfies the predicate

Attributes

A

target of Traversal, A is supposed to be unique for a given pair (S, I)

I

index

S

source of Traversal

Companion:
object
Source:
FilterIndex.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def filterIndex(predicate: I => Boolean): Traversal[S, A]

Attributes

Source:
FilterIndex.scala