From ba4380fe9892c7c4963cff3dccbbfcdbc0bf2860 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 9 Dec 2017 17:38:04 +0000 Subject: [PATCH] Clarify that toString(), equals() and hashCode() all delegate to value --- src/main/java/net/kemitix/mon/TypeAlias.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/kemitix/mon/TypeAlias.java b/src/main/java/net/kemitix/mon/TypeAlias.java index 050abbe..451d972 100644 --- a/src/main/java/net/kemitix/mon/TypeAlias.java +++ b/src/main/java/net/kemitix/mon/TypeAlias.java @@ -26,6 +26,9 @@ import java.util.function.Function; /** * Type Alias for other types. * + *

{@link #toString()}, {@link #equals(Object)} and {@link #hashCode()} are all transparent, returning the value + * for the type being aliased.

+ * * @param the type of the alias * * @author Paul Campbell (pcampbell@kemitix.net)