public abstract static class Aggregators.Sum extends Aggregators.FieldAggregatorBase<IQuantity,org.openjdk.jmc.common.item.Aggregators.SumConsumer>
Constructor and Description |
---|
Sum(String name,
String description,
LinearKindOfQuantity ct) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
getValue(org.openjdk.jmc.common.item.Aggregators.SumConsumer consumer) |
org.openjdk.jmc.common.item.Aggregators.SumConsumer |
newItemConsumer(IType<IItem> type) |
acceptType, doGetAccessor
getValue
getDescription, getName, getValueType
public Sum(String name, String description, LinearKindOfQuantity ct)
public org.openjdk.jmc.common.item.Aggregators.SumConsumer newItemConsumer(IType<IItem> type)
type
- an item type to get an item consumer forpublic IQuantity getValue(org.openjdk.jmc.common.item.Aggregators.SumConsumer consumer)
getValue
in class Aggregators.MergingAggregator<IQuantity,org.openjdk.jmc.common.item.Aggregators.SumConsumer>
Copyright © 2020. All rights reserved.