标签:operator java import iter nbsp [] str 范式 package
package Xwxx; import java.util.ArrayList; import java.util.Iterator; import java.util.function.IntBinaryOperator; public class Fanx { public static void main(String[] args) { ArrayList<String> list=new ArrayList<String>(); list.add("a"); list.add("b"); //list.add(1); Iterator<String> it=list.iterator(); while(it.hasNext()){ String str=(String)it.next(); System.out.println(str.length()); } } }
标签:operator java import iter nbsp [] str 范式 package
原文地址:https://www.cnblogs.com/hankai2735/p/9105767.html