diff options
author | Pacien TRAN-GIRARD | 2016-02-29 15:35:37 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-02-29 15:35:37 +0100 |
commit | 57ac52bb05bef4be369ee4cf2794afb50362d3a3 (patch) | |
tree | 169134bb4d9fc95544973a80e13aa0449cee5ea8 /src/ch | |
parent | f28560be9aceaf407613834a8fade1bfeedda449 (diff) | |
download | xblast-57ac52bb05bef4be369ee4cf2794afb50362d3a3.tar.gz |
Elaborate documentation
Diffstat (limited to 'src/ch')
-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) { |