Class PTraversal<S,T,A,B>

java.lang.Object
io.atlassian.fugue.optic.PTraversal<S,T,A,B>
Type Parameters:
S - the source of a PTraversal
T - the modified source of a PTraversal
A - the target of a PTraversal
B - the modified target of a PTraversal
Direct Known Subclasses:
Traversal

public abstract class PTraversal<S,T,A,B> extends Object
A PTraversal can be seen as a POptional generalised to 0 to n targets where n can be infinite.

PTraversal stands for Polymorphic Traversal as it set and modify methods change a type `A` to `B` and `S` to `T`. Traversal is a PTraversal restricted to monomorphic updates.