- Enclosing class:
P2<A,B>
public static final class P2.Optic
extends Object
Optic factory methods for a P2
-
Constructor Summary
Constructors
-
Method Summary
Monomorphic lens targeted on _1.
Polyomorphic lens targeted on _1.
Monomorphic lens targeted on _1.
Polyomorphic lens targeted on _2.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
_1p
public static <A,
B,
C> PLens<P2<A,B>,P2<C,B>,A,C> _1p()
Polyomorphic lens targeted on _1.
-
_1
public static <A,
B> Lens<P2<A,B>,A> _1()
Monomorphic lens targeted on _1.
-
_2p
public static <A,
B,
C> PLens<P2<A,B>,P2<A,C>,B,C> _2p()
Polyomorphic lens targeted on _2.
-
_2
public static <A,
B> Lens<P2<A,B>,B> _2()
Monomorphic lens targeted on _1.