Package one.xingyi.core.optics
Interface Lens<A,B>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <C> Lens<A,C>andThen(Lens<B,C> lens)static <A,B>
Lens<A,B>cast()static <A,B>
Lens<A,B>create(Getter<A,B> get, Setter<A,B> set)static <A> Lens<A,A>identity()Atransform(A a, java.util.function.Function<B,B> fn)-
Methods inherited from interface one.xingyi.core.optics.Getter
andThenGet, get
-
-