Class P1.Memo<A>
java.lang.Object
fj.P1<A>
fj.P1.Memo<A>
-
Nested Class Summary
Nested classes/interfaces inherited from class P1
P1.Memo<A>, P1.ReferenceMemo<A>, P1.SoftReferenceMemo<A>, P1.WeakReferenceMemo<A> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal A_1()Access the first element of the product.private AhardMemo()Returns a P1 that remembers its value.softMemo()Likememo, but the memoized value is wrapped into aSoftReferenceweakMemo()Likememo, but the memoized value is wrapped into aWeakReferenceMethods inherited from class P1
__1, apply, bind, bind, bind, constant, curry, equals, f, hashCode, join, liftM2, liftM2, map, map_, memo, sequence, sequence, sequence, sequence, sequenceList, toString, traverseEither, traverseList, traverseOption, traverseStream, traverseValidation
-
Field Details
-
fa
-
value
-
-
Constructor Details
-
Memo
-
-
Method Details
-
_1
-
computeValue
-
hardMemo
-
softMemo
-
weakMemo
-