public static interface PairwiseAggregator.Provider<T extends PairwiseAggregator.Aggregable<T>>
Modifier and Type | Method and Description |
---|---|
void |
add(T instance,
int idx)
Adds to a mutable instance.
|
Class<T> |
getComponentClass()
Obtains the type of the component this provider provides.
|
T |
getMutableMetrics(int idx)
Fetches an object that can be used as the aggregation origin.
|
void |
recycle(T metrics)
Recycles an object after use.
|
T getMutableMetrics(int idx)
idx
- The object indexvoid add(T instance, int idx)
instance
- The mutable instanceidx
- The object index to addClass<T> getComponentClass()
void recycle(T metrics)
metrics
- The object to recycle