File tree Expand file tree Collapse file tree
src/main/java/com/iridium/iridiumcolorapi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import java .util .Arrays ;
1616import java .util .List ;
1717import java .util .Map ;
18+ import java .util .Collection ;
1819import java .util .stream .Collectors ;
1920
2021public class IridiumColorAPI {
@@ -85,14 +86,14 @@ public static String process(@Nonnull String string) {
8586 }
8687
8788 /**
88- * Processes multiple strings in a list .
89+ * Processes multiple strings in a collection .
8990 *
90- * @param strings The list of the strings we are processing
91+ * @param strings The collection of the strings we are processing
9192 * @return The list of processed strings
9293 * @since 1.0.3
9394 */
9495 @ Nonnull
95- public static List <String > process (@ Nonnull List <String > strings ) {
96+ public static List <String > process (@ Nonnull Collection <String > strings ) {
9697 return strings .stream ()
9798 .map (IridiumColorAPI ::process )
9899 .collect (Collectors .toList ());
You can’t perform that action at this time.
0 commit comments