@Test public void toListWithEscaped() throws Exception { assertEquals(CollectionUtilities.toListWithEscaped("a,b,c,d", ","), Arrays.asList("a", "b", "c", "d")); assertEquals(CollectionUtilities.toListWithEscaped("a\\,b\\,c\\,d", ","), Arrays.asList("a\\", "b\\", "c\\", "d")); }
@NotNull public static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter) { return new ArrayList<>(Arrays.asList(toArrayWithEscaped(stringList, delimiter))); }
CollectionUtilities { @NotNull public static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter) { return new ArrayList<>(Arrays.asList(toArrayWithEscaped(stringList, delimiter))); } }
CollectionUtilities { @NotNull public static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter) { return new ArrayList<>(Arrays.asList(toArrayWithEscaped(stringList, delimiter))); } private  CollectionUtilities(); }
CollectionUtilities { @NotNull public static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter) { return new ArrayList<>(Arrays.asList(toArrayWithEscaped(stringList, delimiter))); } private  CollectionUtilities(); @NotNull static String[] toArrayWithEscaped(@Nullable final String stringArray, @NotNull final String delimiter); @NotNull static String[] toArray(@Nullable final String stringArray, @NotNull final String delimiter); @NotNull static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter); @NotNull static List<String> toList(@Nullable final String stringList, @NotNull final String delimiter); @NotNull static Map<String, String> toMap(@Nullable final String stringMap, @NotNull final String pairDelimiter, @NotNull final String keyValueDelimiter); }
CollectionUtilities { @NotNull public static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter) { return new ArrayList<>(Arrays.asList(toArrayWithEscaped(stringList, delimiter))); } private  CollectionUtilities(); @NotNull static String[] toArrayWithEscaped(@Nullable final String stringArray, @NotNull final String delimiter); @NotNull static String[] toArray(@Nullable final String stringArray, @NotNull final String delimiter); @NotNull static List<String> toListWithEscaped(@Nullable final String stringList, @NotNull final String delimiter); @NotNull static List<String> toList(@Nullable final String stringList, @NotNull final String delimiter); @NotNull static Map<String, String> toMap(@Nullable final String stringMap, @NotNull final String pairDelimiter, @NotNull final String keyValueDelimiter);  }