T
- the type of the individual resultspublic abstract class ResultsAggregator<T> extends Object
Constructor and Description |
---|
ResultsAggregator() |
Modifier and Type | Method and Description |
---|---|
static <T,K extends Comparable<? super K>> |
with(com.google.common.base.Function<? super T,? extends K> maker,
int startIndex,
int maxResults) |
static <T,K extends Comparable<? super K>> |
with(com.google.common.base.Function<? super T,? extends K> maker,
Query<? extends T> query)
Create an instance that will use the provided function to uniquely identify results and that will
expect as many total results as indicated by the query.
|
public static <T,K extends Comparable<? super K>> ResultsAggregator<T> with(com.google.common.base.Function<? super T,? extends K> maker, Query<? extends T> query)
maker
- a key-making functionquery
- an indication of how many results are requiredpublic static <T,K extends Comparable<? super K>> ResultsAggregator<T> with(com.google.common.base.Function<? super T,? extends K> maker, int startIndex, int maxResults)
Copyright © 2016 Atlassian. All rights reserved.