aboutsummaryrefslogtreecommitdiff
path: root/jgvariant-core
diff options
context:
space:
mode:
Diffstat (limited to 'jgvariant-core')
-rw-r--r--jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java b/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java
index 60cef3e..74d569d 100644
--- a/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java
+++ b/jgvariant-core/src/main/java/eu/mulk/jgvariant/core/Decoder.java
@@ -116,7 +116,8 @@ public abstract class Decoder<T> {
/**
* Creates a new {@link Decoder} from an existing one by applying a function to the result.
*
- * @param function the function to apply.
+ * @param decodingFunction the function to apply when decoding.
+ * @param encodingFunction the function to apply when encoding.
* @return a new, decorated {@link Decoder}.
* @see java.util.stream.Stream#map
*/
@@ -127,7 +128,8 @@ public abstract class Decoder<T> {
/**
* Creates a new {@link Decoder} from an existing one by applying a function to the input.
*
- * @param function the function to apply.
+ * @param decodingFunction the function to apply when decoding.
+ * @param encodingFunction the function to apply when encoding.
* @return a new, decorated {@link Decoder}.
* @see java.util.stream.Stream#map
*/