对于list,如果需要返回Iterable类型,则直接返回list;如果需要返回Iterator类型,则返回list.iterator();
JAVA Iterable Iterator
猜你喜欢
转载自blog.csdn.net/weixin_42129080/article/details/80629889
今日推荐
周排行