code: public static List<String> splitAsList(Pattern splitPattern, String text) {
          return splitAsStream(splitPattern, text).collect(toList());
      }
docs: Split as list list.
  
  @param splitPattern the split pattern
  @param text         the text
  @return the list