/** * Parse an input into list of {@link InputRow}. List can contains null for rows that should be thrown away, * or throws {@code ParseException} if the input is unparseable. This method should never return null otherwise * lots of things will break. */ @NotNull default List<InputRow> parseBatch(T input) { return Utils.nullableListOf(parse(input)); }
/** * Parse an input into list of {@link InputRow}. List can contains null for rows that should be thrown away, * or throws {@code ParseException} if the input is unparseable. This method should never return null otherwise * lots of things will break. */ @NotNull default List<InputRow> parseBatch(T input) { return Utils.nullableListOf(parse(input)); }