File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
lodash-plugin/src/main/java/com/github/underscore/lodash
math-plugin/src/main/java/com/github/underscore/math
src/main/java/com/github/underscore
string-plugin/src/main/java/com/github/underscore/string Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -290,8 +290,8 @@ public static <T> Chain chain(final List<T> list) {
290290 return new $ .Chain <T >(list );
291291 }
292292
293- public static <T > Chain chain (final Set <T > list ) {
294- return new $ .Chain <T >(newArrayList (list ));
293+ public static <T > Chain chain (final Iterable <T > iterable ) {
294+ return new $ .Chain <T >(newArrayList (iterable ));
295295 }
296296
297297 public static <T > Chain chain (final T ... list ) {
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ public static <T> Chain chain(final List<T> list) {
5959 return new $ .Chain <T >(list );
6060 }
6161
62- public static <T > Chain chain (final Set <T > list ) {
63- return new $ .Chain <T >(newArrayList (list ));
62+ public static <T > Chain chain (final Iterable <T > iterable ) {
63+ return new $ .Chain <T >(newArrayList (iterable ));
6464 }
6565
6666 public static <T > Chain chain (final T [] list ) {
Original file line number Diff line number Diff line change @@ -1574,8 +1574,8 @@ public static <T> Chain chain(final List<T> list) {
15741574 return new $ .Chain <T >(list );
15751575 }
15761576
1577- public static <T > Chain chain (final Set <T > set ) {
1578- return new $ .Chain <T >(newArrayList (set ));
1577+ public static <T > Chain chain (final Iterable <T > iterable ) {
1578+ return new $ .Chain <T >(newArrayList (iterable ));
15791579 }
15801580
15811581 public static <T > Chain chain (final T ... array ) {
Original file line number Diff line number Diff line change @@ -193,8 +193,8 @@ public static <T> Chain chain(final List<T> list) {
193193 return new $ .Chain <T >(list );
194194 }
195195
196- public static <T > Chain chain (final Set <T > list ) {
197- return new $ .Chain <T >(newArrayList (list ));
196+ public static <T > Chain chain (final Iterable <T > iterable ) {
197+ return new $ .Chain <T >(newArrayList (iterable ));
198198 }
199199
200200 public static <T > Chain chain (final T ... list ) {
You can’t perform that action at this time.
0 commit comments