@@ -31,11 +31,13 @@ public class EnumCollectors {
31
31
/**
32
32
* Returns a {@link Collector} that accumulates the input elements into a new enum-{@link Map}.
33
33
*
34
- * @param <E> type of the enum
35
34
* @param type type object of the enum
36
35
* @param keyMapper mapping function used to convert the elements into enum-keys
37
36
* @param valueMapper mapping function used to convert the elements into values
38
37
* @param merger function used to handle duplicate values
38
+ * @param <T> type of the input elements
39
+ * @param <E> type of the enum
40
+ * @param <V> type of map values
39
41
* @return a collector collecting al its elements into an enum-map
40
42
*/
41
43
public <T , E extends Enum <E >, V > @ NotNull Collector <T , ?, @ NotNull Map <E , V >> toEnumMap (
@@ -54,7 +56,9 @@ public class EnumCollectors {
54
56
* @param valueMapper mapping function used to convert the elements into values
55
57
* @param merger function used to handle duplicate values
56
58
* @param typeHint array used for enum-type discovery
59
+ * @param <T> type of the input elements
57
60
* @param <E> type of the enum
61
+ * @param <V> type of map values
58
62
* @return a collector collecting al its elements into an enum-map
59
63
*/
60
64
@ SafeVarargs
@@ -70,10 +74,12 @@ public class EnumCollectors {
70
74
/**
71
75
* Returns a {@link Collector} that accumulates the input elements into a new enum-{@link Map}.
72
76
*
73
- * @param <E> type of the enum
74
77
* @param type type object of the enum
75
78
* @param keyMapper mapping function used to convert the elements into enum-keys
76
79
* @param valueMapper mapping function used to convert the elements into values
80
+ * @param <T> type of the input elements
81
+ * @param <E> type of the enum
82
+ * @param <V> type of map values
77
83
* @return a collector collecting al its elements into an enum-map
78
84
*/
79
85
public <T , E extends Enum <E >, V > @ NotNull Collector <T , ?, @ NotNull Map <E , V >> toEnumMap (
@@ -87,9 +93,10 @@ public class EnumCollectors {
87
93
/**
88
94
* Returns a {@link Collector} that accumulates the input elements into a new enum-{@link Map}.
89
95
*
90
- * @param <E> type of the enum
91
96
* @param type type object of the enum
92
97
* @param valueMapper mapping function used to convert the elements into values
98
+ * @param <E> type of the enum
99
+ * @param <V> type of map values
93
100
* @return a collector collecting al its elements into an enum-map
94
101
*/
95
102
public <E extends Enum <E >, V > @ NotNull Collector <E , ?, @ NotNull Map <E , V >> toEnumMap (
@@ -102,10 +109,11 @@ public class EnumCollectors {
102
109
/**
103
110
* Returns a {@link Collector} that accumulates the input elements into a new enum-{@link Map}.
104
111
*
105
- * @param <E> type of the enum
106
112
* @param type type object of the enum
107
113
* @param valueMapper mapping function used to convert the elements into values
108
114
* @param merger function used to handle duplicate values
115
+ * @param <E> type of the enum
116
+ * @param <V> type of map values
109
117
* @return a collector collecting al its elements into an enum-map
110
118
*/
111
119
public <E extends Enum <E >, V > @ NotNull Collector <E , ?, @ NotNull Map <E , V >> toEnumMap (
@@ -123,6 +131,7 @@ public class EnumCollectors {
123
131
* @param merger function used to handle duplicate values
124
132
* @param typeHint array used for enum-type discovery
125
133
* @param <E> type of the enum
134
+ * @param <V> type of map values
126
135
* @return a collector collecting al its elements into an enum-map
127
136
*/
128
137
@ SafeVarargs
0 commit comments