diff options
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcdata/theory')
3 files changed, 11 insertions, 11 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Bifunctor.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Bifunctor.java index fa69f31..d6da637 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Bifunctor.java +++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Bifunctor.java @@ -4,7 +4,7 @@ import java.util.function.Function; /** * A functor over a pair of heterogenous types - * + * * @author ben * @param <LeftType> * The type stored on the 'left' of the pair @@ -16,7 +16,7 @@ public interface Bifunctor<LeftType, RightType> { /** * Lift a pair of functions to a single function that maps over both * parts of a pair - * + * * @param <OldLeft> * The old left type of the pair * @param <OldRight> @@ -49,7 +49,7 @@ public interface Bifunctor<LeftType, RightType> { /** * Lift a function to operate over the left part of this pair - * + * * @param <OldLeft> * The old left type of the pair * @param <OldRight> @@ -66,7 +66,7 @@ public interface Bifunctor<LeftType, RightType> { /** * Lift a function to operate over the right part of this pair - * + * * @param <OldLeft> * The old left type of the pair * @param <OldRight> @@ -83,14 +83,14 @@ public interface Bifunctor<LeftType, RightType> { /** * Get the value contained on the left of this bifunctor - * + * * @return The value on the left side of this bifunctor */ public LeftType getLeft(); /** * Get the value contained on the right of this bifunctor - * + * * @return The value on the right of this bifunctor */ public RightType getRight(); diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Functor.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Functor.java index a5007f1..1c53284 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Functor.java +++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/Functor.java @@ -5,7 +5,7 @@ import java.util.function.Function; /** * Represents a container or context some sort usually, but the precise * definition is that it represents exactly what it is defined as - * + * * @author ben * @param <ContainedType> * The value inside the functor @@ -13,11 +13,11 @@ import java.util.function.Function; public interface Functor<ContainedType> { /** * Converts a normal function to operate over values in a functor. - * + * * N.B: Even though the type signature implies that you can apply the * resulting function to any type of functor, it is only safe to call it * on instances of the type of functor you called fmap on. - * + * * @param <ArgType> * The argument of the function * @param <ReturnType> @@ -32,7 +32,7 @@ public interface Functor<ContainedType> { /** * Retrieve the thing inside this functor - * + * * @return The thing inside this functor */ public ContainedType getValue(); diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/package-info.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/package-info.java index 33c80d6..713eb9f 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/package-info.java +++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/theory/package-info.java @@ -1,6 +1,6 @@ /** * Random functional type things that don't belong elsewhere - * + * * @author ben * */ |
