public final class IsoLaws<S,A> extends Object
| Modifier and Type | Method and Description |
|---|---|
IsEq<Either<String,S>> |
modifyEitherFPoint(S s)
modifyF Applicative.point(_) = Applicative.point(_)
|
IsEq<S> |
modifyFunctionFPoint(S s)
modifyF Applicative.point(_) = Applicative.point(_)
|
IsEq<S> |
modifyIdentity(S s)
modify id = id
|
IsEq<List<S>> |
modifyIterableFPoint(S s)
modifyF Applicative.point(_) = Applicative.point(_)
|
IsEq<Option<S>> |
modifyOptionFPoint(S s)
modifyF Applicative.point(_) = Applicative.point(_)
|
IsEq<Pair<S,S>> |
modifyPairFPoint(S s)
modifyF Applicative.point(_) = Applicative.point(_)
|
IsEq<S> |
modifySupplierFPoint(S s)
modifyF Applicative.point(_) = Applicative.point(_)
|
IsEq<S> |
roundTripOneWay(S s)
get and reverseGet forms an Isomorphism: round trip one way
|
IsEq<A> |
roundTripOtherWay(A a)
get and reverseGet forms an Isomorphism: round trip other way
|
IsEq<S> |
set(S s,
A a)
set is a weaker version of reverseGet
|
public IsEq<S> roundTripOneWay(S s)
public IsEq<A> roundTripOtherWay(A a)
public IsEq<S> modifySupplierFPoint(S s)
public IsEq<Either<String,S>> modifyEitherFPoint(S s)
public IsEq<Option<S>> modifyOptionFPoint(S s)
public IsEq<Pair<S,S>> modifyPairFPoint(S s)
public IsEq<S> modifyFunctionFPoint(S s)
Copyright © 2017 Atlassian. All rights reserved.