/** * Combines an iterable of parser positions to create a position which spans * from the beginning of the first to the end of the last. */ public static SqlParserPos sum(Iterable<SqlParserPos> poses) { final List<SqlParserPos> list = poses instanceof List ? (List<SqlParserPos>) poses : Lists.newArrayList(poses); return sum_(list); }
/** * Combines an iterable of parser positions to create a position which spans * from the beginning of the first to the end of the last. */ public static SqlParserPos sum(Iterable<SqlParserPos> poses) { final List<SqlParserPos> list = poses instanceof List ? (List<SqlParserPos>) poses : Lists.newArrayList(poses); return sum_(list); }