Coverage Summary for Class: Pair (it.polimi.ingsw.Misc)
Class |
Class, %
|
Method, %
|
Line, %
|
Pair |
100%
(1/1)
|
100%
(1/1)
|
100%
(1/1)
|
1 package it.polimi.ingsw.Misc;
2
3 import java.io.Serializable;
4
5 /**
6 * A Pair represents a set of 2 objects linked in some way
7 *
8 * @param first the first element of the pair
9 * @param second the second element of the pair
10 * @param <T> the first element's type
11 * @param <U> the second element's type
12 */
13 public record Pair<T, U>(T first, U second) implements Serializable {
14
15 }