摘要:
find index without indexOf() //foor loop in the collection for (int i = 0; i < s.length(); i++) { for (int j = i + 1; j < s.length() - i; j++) { //get 阅读全文
摘要:
public static int sum(final List<String> l) { return int sum = Stream().map(n -> Integer.valueOf(n)).sum(); } {"2","3","5"} => 10 private static final 阅读全文