FilterIndex

@implicitNotFound("Could not find an instance of FilterIndex[${S},${I},${A}], please check Monocle instance location policy to ".+("find out which import is necessary")) 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

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

Type Params
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
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

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