Package org.openjdk.jmc.common.item
Class GroupingAggregator
java.lang.Object
org.openjdk.jmc.common.item.GroupingAggregator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V,
K, C extends IItemConsumer<C>>
IAggregator<V,?> build
(String name, String description, IAccessorFactory<K> keyField, IAggregator<?, C> a, GroupingAggregator.IGroupsFinisher<V, K, C> finisher) static <V,
K, C extends IItemConsumer<C>>
IAggregator<V,?> build
(String name, String description, IAccessorFactory<K> keyField, IAggregator<IQuantity, C> a, GroupingAggregator.IQuantityListFinisher<V> groupFinisher) static <K,
C extends IItemConsumer<C>>
IAggregator<Iterable<? extends GroupingAggregator.GroupEntry<K,C>>, ?> build
(String name, String description, IAccessorFactory<K> keyField, IItemConsumerFactory<C> groupAggregator, Predicate<IType<IItem>> acceptType) static <V,
K, C extends IItemConsumer<C>>
IAggregator<V,?> build
(String name, String description, IAccessorFactory<K> keyField, IItemConsumerFactory<C> groupAggregator, Predicate<IType<IItem>> acceptType, GroupingAggregator.IGroupsFinisher<V, K, C> finisher) static <V,
C extends IItemConsumer<C>>
IAggregator<IQuantity,?> buildMax
(String name, String description, IAccessorFactory<?> keyField, IAggregator<IQuantity, C> aggregate)
-
Constructor Details
-
GroupingAggregator
public GroupingAggregator()
-
-
Method Details
-
build
public static <V,K, IAggregator<V,C extends IItemConsumer<C>> ?> build(String name, String description, IAccessorFactory<K> keyField, IItemConsumerFactory<C> groupAggregator, Predicate<IType<IItem>> acceptType, GroupingAggregator.IGroupsFinisher<V, K, C> finisher) -
build
public static <V,K, IAggregator<V,C extends IItemConsumer<C>> ?> build(String name, String description, IAccessorFactory<K> keyField, IAggregator<?, C> a, GroupingAggregator.IGroupsFinisher<V, K, C> finisher) -
build
public static <K,C extends IItemConsumer<C>> IAggregator<Iterable<? extends GroupingAggregator.GroupEntry<K,C>>, build?> (String name, String description, IAccessorFactory<K> keyField, IItemConsumerFactory<C> groupAggregator, Predicate<IType<IItem>> acceptType) -
build
public static <V,K, IAggregator<V,C extends IItemConsumer<C>> ?> build(String name, String description, IAccessorFactory<K> keyField, IAggregator<IQuantity, C> a, GroupingAggregator.IQuantityListFinisher<V> groupFinisher) -
buildMax
public static <V,C extends IItemConsumer<C>> IAggregator<IQuantity,?> buildMax(String name, String description, IAccessorFactory<?> keyField, IAggregator<IQuantity, C> aggregate)
-