From 504ca816530efdff06bc202e0432ebd354aec304 Mon Sep 17 00:00:00 2001 From: EVE Date: Tue, 14 Mar 2017 12:07:14 -0400 Subject: Cleanup --- .../src/main/java/bjc/utils/funcdata/theory/Bifunctor.java | 12 ++++++------ .../src/main/java/bjc/utils/funcdata/theory/Functor.java | 8 ++++---- .../main/java/bjc/utils/funcdata/theory/package-info.java | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcdata/theory') 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 * The type stored on the 'left' of the pair @@ -16,7 +16,7 @@ public interface Bifunctor { /** * Lift a pair of functions to a single function that maps over both * parts of a pair - * + * * @param * The old left type of the pair * @param @@ -49,7 +49,7 @@ public interface Bifunctor { /** * Lift a function to operate over the left part of this pair - * + * * @param * The old left type of the pair * @param @@ -66,7 +66,7 @@ public interface Bifunctor { /** * Lift a function to operate over the right part of this pair - * + * * @param * The old left type of the pair * @param @@ -83,14 +83,14 @@ public interface Bifunctor { /** * 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 * The value inside the functor @@ -13,11 +13,11 @@ import java.util.function.Function; public interface Functor { /** * 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 * The argument of the function * @param @@ -32,7 +32,7 @@ public interface Functor { /** * 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 * */ -- cgit v1.2.3