public class LongSumLoader extends SingleDependencyReducingAggregateLoader<Long>
myDependencymySpec| Constructor and Description |
|---|
LongSumLoader(AttributeSpec<Long> spec,
AttributeSpec<Long> dependency) |
| Modifier and Type | Method and Description |
|---|---|
Long |
reduce(List<Long> list)
Reduces the list of values to one value.
|
getAttributeDependencies, getSelfValueloadValuefirstChildErrorgetAttributeSpec, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconvert, merge, mergegetCachingStrategyisWholeForestDependent, preloadgetAttributeSpec, getContextDependencies, getGlobalTrailpublic LongSumLoader(AttributeSpec<Long> spec, AttributeSpec<Long> dependency)
public Long reduce(@NotNull List<Long> list)
ValueReducermerge methods if not overridden. Can be called from convert methodlist - list of values, every item can be nullCopyright © 2021 ALM Works. All Rights Reserved.