diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ch/epfl/xblast/Lists.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ch/epfl/xblast/Lists.java b/src/ch/epfl/xblast/Lists.java index aadc694..f468788 100644 --- a/src/ch/epfl/xblast/Lists.java +++ b/src/ch/epfl/xblast/Lists.java | |||
@@ -5,16 +5,18 @@ import java.util.Collections; | |||
5 | import java.util.List; | 5 | import java.util.List; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Lists utility class providing common operations on lists. | ||
9 | * | ||
8 | * @author Pacien TRAN-GIRARD (261948) | 10 | * @author Pacien TRAN-GIRARD (261948) |
9 | * @author Timothée FLOURE (257420) | 11 | * @author Timothée FLOURE (257420) |
10 | */ | 12 | */ |
11 | public final class Lists { | 13 | public final class Lists { |
12 | 14 | ||
13 | /** | 15 | /** |
14 | * Return a sysmetric version of the list. | 16 | * Return a symmetric version of the list. |
15 | * | 17 | * |
16 | * @param l the input list | 18 | * @param l the input list |
17 | * @return mirroredList the mirrored ilist | 19 | * @return mirroredList the mirrored list |
18 | * @throws IllegalArgumentException if the given list is empty | 20 | * @throws IllegalArgumentException if the given list is empty |
19 | */ | 21 | */ |
20 | public static <T> List<T> mirrored(List<T> l) { | 22 | public static <T> List<T> mirrored(List<T> l) { |