List的分割

有时候咱们会遇到分割List,把list分红几份,或者把list的元素转换成另外一个类型的元素,使用 guava的Lists.partition,Lists.transform能够帮忙咱们更加简单的实现此功能java import com.google.common.base.Function; import com.google.common.collect.Lists;web import j
相关文章
相关标签/搜索