Skip to content

Commit 3607389

Browse files
committed
docs: fix typos
1 parent 319be3b commit 3607389

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tuple/src/main/java/com/onixbyte/tuple/BiTuple.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
import java.util.Objects;
2121

2222
/**
23-
* Represents an ordered pair of elements, where the first element is of type {@code L}
24-
* and the second is of type {@code R}. This class provides a simple way to group two
25-
* related values together.
23+
* Represents an ordered pair of elements, where the first element is of type {@code L} and the
24+
* second is of type {@code R}. This class provides a simple way to group two related
25+
* values together.
2626
* <p>
2727
* The class is mutable, allowing the values of the left and right elements to be changed
2828
* after creation. It also overrides the {@code equals}, {@code hashCode}, and {@code toString}

tuple/src/main/java/com/onixbyte/tuple/ImmutableTriTuple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public record ImmutableTriTuple<L, M, R>(
4141
) {
4242

4343
/**
44-
* Creates a new {@code TriTuple} with the specified left, middle, and right elements.
44+
* Creates a new {@code ImmutableTriTuple} with the specified left, middle, and right elements.
4545
*
4646
* @param <L> the type of the left element
4747
* @param <M> the type of the middle element

tuple/src/main/java/com/onixbyte/tuple/TriTuple.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
import java.util.Objects;
2121

2222
/**
23-
* Represents an immutable triple of three elements, referred to as 'left', 'middle' and 'right'.
23+
* Represents an mutable triple of three elements, referred to as 'left', 'middle' and 'right'.
2424
* This class provides a way to group three values of different types.
2525
* <p>
26-
* The generic types {@code L}, {@code M} and {@code R} denote the types of the left, middle and right
27-
* elements respectively.
26+
* The generic types {@code L}, {@code M} and {@code R} denote the types of the left, middle and
27+
* right elements respectively.
2828
*
2929
* @param <L> the type of the left element
3030
* @param <M> the type of the middle element

0 commit comments

Comments
 (0)