docs: fix typos

This commit is contained in:
siujamo
2025-07-17 10:35:01 +08:00
parent 319be3be9c
commit 3607389538
3 changed files with 7 additions and 7 deletions
@@ -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.
* <p>
* 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}
@@ -41,7 +41,7 @@ public record ImmutableTriTuple<L, M, R>(
) {
/**
* 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 <L> the type of the left element
* @param <M> the type of the middle element
@@ -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.
* <p>
* 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 <L> the type of the left element
* @param <M> the type of the middle element