|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PairwiseAggregator.Provider<T extends PairwiseAggregator.Aggregable<T>>
Provider interface to provide objects to aggregate.
Method Summary | |
---|---|
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. |
Method Detail |
---|
T getMutableMetrics(int idx)
idx
- The object index
void 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |