class TextUtil {

	@Pure
	public static List<String> splitAsList(char leftSeparator, char rightSeparator, String str) {
		final List<String> list = new ArrayList<>();
		splitSeparatorAlgorithm(
				leftSeparator, rightSeparator, str,
				new SplitSeparatorToListAlgorithm(list));
		return list;
	}

	private  TextUtil();

}