From 946cab444bc301d8a7c756a1bab039558288de89 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Wed, 11 Oct 2017 13:41:07 -0300 Subject: Cleanup work --- base/src/main/java/bjc/utils/data/Identity.java | 28 +++++++++++-------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'base/src/main/java/bjc/utils/data/Identity.java') diff --git a/base/src/main/java/bjc/utils/data/Identity.java b/base/src/main/java/bjc/utils/data/Identity.java index a8c8d70..3acb5aa 100644 --- a/base/src/main/java/bjc/utils/data/Identity.java +++ b/base/src/main/java/bjc/utils/data/Identity.java @@ -4,33 +4,27 @@ import java.util.function.Function; import java.util.function.UnaryOperator; /** - * @author ben - * - * @param - */ -/** - * Simple implementation of IHolder that has no hidden behavior + * Simple implementation of IHolder that has no hidden behavior. * * @author ben * * @param - * The type contained in the holder + * The type contained in the holder. */ public class Identity implements IHolder { + /* The held value. */ private ContainedType heldValue; - /** - * Create a holder holding null - */ + /** Create a holder holding null */ public Identity() { heldValue = null; } /** - * Create a holder holding the specified value + * Create a holder holding the specified value. * * @param value - * The value to hold + * The value to hold. */ public Identity(final ContainedType value) { heldValue = value; @@ -99,9 +93,10 @@ public class Identity implements IHolder { * Create a new identity container. * * @param val - * The contained value. + * The contained value. * - * @return A new identity container. + * @return + * A new identity container. */ public static Identity id(final ContainedType val) { return new Identity<>(val); @@ -110,9 +105,10 @@ public class Identity implements IHolder { /** * Create a new empty identity container. * - * @return A new empty identity container. + * @return + * A new empty identity container. */ public static Identity id() { return new Identity<>(); } -} \ No newline at end of file +} -- cgit v1.2.3