public class DistinctNumberSumLoader extends AbstractDistinctSumLoader<Number,Number,NumberAccumulator>
AttributeLoader.Aggregate<T>, AttributeLoader.AggregateContext<T>, AttributeLoader.Context, AttributeLoader.ForestIndependent<T>, AttributeLoader.Propagate<T>, AttributeLoader.PropagateContext<T>mySpec| Constructor and Description |
|---|
DistinctNumberSumLoader(AttributeSpec<Number> spec,
AttributeSpec<Number> dependentAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected AttributeValue<Number> |
finalize(NumberAccumulator value) |
protected NumberAccumulator |
initializeWithNonDistinctValue(Number value) |
protected NumberAccumulator |
removeDuplicates(NumberAccumulator before,
Number argument,
int extraInstancesCount) |
getAttributeDependencies, getCachingStrategy, getChildrenCounts, getChildrenValues, isEveryItemTypeSupported, isItemTypeSupported, loadValuegetAttributeSpecclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeSpecpublic DistinctNumberSumLoader(AttributeSpec<Number> spec, AttributeSpec<Number> dependentAttribute)
protected NumberAccumulator initializeWithNonDistinctValue(Number value)
initializeWithNonDistinctValue in class AbstractDistinctSumLoader<Number,Number,NumberAccumulator>@NotNull protected NumberAccumulator removeDuplicates(@NotNull NumberAccumulator before, @NotNull Number argument, int extraInstancesCount)
removeDuplicates in class AbstractDistinctSumLoader<Number,Number,NumberAccumulator>protected AttributeValue<Number> finalize(NumberAccumulator value)
finalize in class AbstractDistinctSumLoader<Number,Number,NumberAccumulator>Copyright © 2018 ALM Works. All Rights Reserved.