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
相關文章
相關標籤/搜索