Package | Description |
---|---|
org.voovan.tools.collection |
Modifier and Type | Method and Description |
---|---|
CollectionSearch |
CollectionSearch.addCondition(Predicate<T> predicate)
增加一个筛选条件
|
CollectionSearch |
CollectionSearch.addCondition(String field,
CollectionSearch.Operate operate,
Object value)
增加一个筛选条件
|
CollectionSearch |
CollectionSearch.addCondition(String field,
CollectionSearch.Operate operate,
Object value,
boolean valNotNull)
增加一个筛选条件
|
CollectionSearch |
CollectionSearch.addCondition(String field,
Object value) |
CollectionSearch |
CollectionSearch.addCondition(String field,
Object value,
boolean valNotNull)
增加一个筛选条件
|
CollectionSearch |
CollectionSearch.limit(int limit)
限制集合的记录数
|
static <P> CollectionSearch<P> |
CollectionSearch.newInstance(Collection<P> collection)
静态构造方法
|
CollectionSearch |
CollectionSearch.page(int pageNum,
int pageSize)
将筛选出的数据分页
|
CollectionSearch |
CollectionSearch.setParallelStream(boolean parallelStream)
设置是否并行处理
|
CollectionSearch |
CollectionSearch.sort(Comparator<T> comparator)
将筛选出的数据排序
|
CollectionSearch |
CollectionSearch.sort(String sortField)
将筛选出的数据排序
|
CollectionSearch |
CollectionSearch.sort(String sortField,
boolean isAsc)
将筛选出的数据排序
|
Copyright © 2020 Voovan. All rights reserved.