Uses of Record Class
com.sure.tool.collection.Partition
Packages that use Partition
-
Uses of Partition in com.sure.tool.collection
Methods in com.sure.tool.collection that return PartitionModifier and TypeMethodDescriptionstatic <T> Partition<T> CollUtil.partitionBy(Collection<T> collection, Predicate<T> predicate) 按谓词将集合分为「匹配」与「不匹配」两部分(均保序),等价于一次性完成 filter 与其补集。