diff --git a/tuple/src/main/java/com/onixbyte/tuple/BiTuple.java b/tuple/src/main/java/com/onixbyte/tuple/BiTuple.java index bd94473..6c7e8ff 100644 --- a/tuple/src/main/java/com/onixbyte/tuple/BiTuple.java +++ b/tuple/src/main/java/com/onixbyte/tuple/BiTuple.java @@ -20,9 +20,9 @@ package com.onixbyte.tuple; import java.util.Objects; /** - * Represents an ordered pair of elements, where the first element is of type {@code L} - * and the second is of type {@code R}. This class provides a simple way to group two - * related values together. + * Represents an ordered pair of elements, where the first element is of type {@code L} and the + * second is of type {@code R}. This class provides a simple way to group two related + * values together. *

* The class is mutable, allowing the values of the left and right elements to be changed * after creation. It also overrides the {@code equals}, {@code hashCode}, and {@code toString} diff --git a/tuple/src/main/java/com/onixbyte/tuple/ImmutableTriTuple.java b/tuple/src/main/java/com/onixbyte/tuple/ImmutableTriTuple.java index 2a13c68..f37b3fb 100644 --- a/tuple/src/main/java/com/onixbyte/tuple/ImmutableTriTuple.java +++ b/tuple/src/main/java/com/onixbyte/tuple/ImmutableTriTuple.java @@ -41,7 +41,7 @@ public record ImmutableTriTuple( ) { /** - * Creates a new {@code TriTuple} with the specified left, middle, and right elements. + * Creates a new {@code ImmutableTriTuple} with the specified left, middle, and right elements. * * @param the type of the left element * @param the type of the middle element diff --git a/tuple/src/main/java/com/onixbyte/tuple/TriTuple.java b/tuple/src/main/java/com/onixbyte/tuple/TriTuple.java index 6e12c7f..78c867b 100644 --- a/tuple/src/main/java/com/onixbyte/tuple/TriTuple.java +++ b/tuple/src/main/java/com/onixbyte/tuple/TriTuple.java @@ -20,11 +20,11 @@ package com.onixbyte.tuple; import java.util.Objects; /** - * Represents an immutable triple of three elements, referred to as 'left', 'middle' and 'right'. + * Represents an mutable triple of three elements, referred to as 'left', 'middle' and 'right'. * This class provides a way to group three values of different types. *

- * The generic types {@code L}, {@code M} and {@code R} denote the types of the left, middle and right - * elements respectively. + * The generic types {@code L}, {@code M} and {@code R} denote the types of the left, middle and + * right elements respectively. * * @param the type of the left element * @param the type of the middle element