summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/data/Lazy.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/bjc/data/Lazy.java')
-rw-r--r--src/main/java/bjc/data/Lazy.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/bjc/data/Lazy.java b/src/main/java/bjc/data/Lazy.java
index 5fcd2ae..b237935 100644
--- a/src/main/java/bjc/data/Lazy.java
+++ b/src/main/java/bjc/data/Lazy.java
@@ -195,9 +195,10 @@ public class Lazy<ContainedType> implements Holder<ContainedType> {
/**
* Create a new lazy container with an already present value.
- *
- * @param val
- * The value for the lazy container.
+ *
+ * @param <ContainedType> The type of the contained value.
+ *
+ * @param val The value for the lazy container.
*
* @return A new lazy container holding that value.
*/
@@ -208,8 +209,9 @@ public class Lazy<ContainedType> implements Holder<ContainedType> {
/**
* Create a new lazy container with a suspended value.
*
- * @param supp
- * The suspended value for the lazy container.
+ * @param <ContainedType> The type of the contained value.
+ *
+ * @param supp The suspended value for the lazy container.
*
* @return A new lazy container that will un-suspend the value when necessary.
*/