Package | Description |
---|---|
org.openjdk.jmc.common.item |
This package contains the
IItem data model. |
Modifier and Type | Class and Description |
---|---|
static class |
Aggregators.AggregatorBase<V,C extends IItemConsumer<C>> |
static class |
Aggregators.FieldAggregatorBase<V,C extends IItemConsumer<C>> |
static class |
Aggregators.MergingAggregator<V,C extends IItemConsumer<C>> |
interface |
IAggregator<V,C extends IItemConsumer<C>>
Encapsulates the calculation of an aggregate for (potentially) different types of items.
|
interface |
IItemConsumerFactory<C extends IItemConsumer<C>>
A factory that supplies item consumers for different types of items.
|
Modifier and Type | Class and Description |
---|---|
static class |
Aggregators.AdvancedMinMaxConsumer<V,T extends Comparable<T>>
This consumer separates the attribute for which to do the ordering from the attribute to use
for accessing the value.
|
static class |
Aggregators.AvgConsumer |
static class |
Aggregators.CountConsumer |
static class |
Aggregators.MinMaxConsumer<V extends Comparable<V>> |
static class |
Aggregators.SetConsumer<T> |
static class |
Aggregators.VarianceConsumer
Consumer for calculating stddev and variance in a one pass, numerically stable way.
|
Modifier and Type | Method and Description |
---|---|
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IAggregator<?,C> a,
GroupingAggregator.IGroupsFinisher<V,K,C> finisher) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IAggregator<IQuantity,C> a,
GroupingAggregator.IQuantityListFinisher<V> groupFinisher) |
static <K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<C> groupAggregator,
IPredicate<IType<IItem>> acceptType) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<C> groupAggregator,
IPredicate<IType<IItem>> acceptType,
GroupingAggregator.IGroupsFinisher<V,K,C> finisher) |
static <V,C extends IItemConsumer<C>> |
GroupingAggregator.buildMax(String name,
String description,
IAccessorFactory<?> keyField,
IAggregator<IQuantity,C> aggregate) |
static <V,C extends IItemConsumer<C>> |
Aggregators.filter(String name,
String description,
IAggregator<V,C> aggregator,
IItemFilter filter) |
static <C extends IItemConsumer<C>> |
Aggregators.forConsumer(IItemConsumerFactory<C> consumerFactory) |
static <C extends IItemConsumer<C>> |
Aggregators.forConsumer(IItemConsumerFactory<C> consumerFactory,
IPredicate<IType<IItem>> acceptType) |
<V,C extends IItemConsumer<C>> |
IItemCollection.getAggregate(IAggregator<V,C> aggregator)
Calculates an aggregated value for the items in this collection.
|
static <V1,V2,C extends IItemConsumer<C>> |
Aggregators.valueBuilderAggregator(IAggregator<V1,C> aggregator,
org.openjdk.jmc.common.item.IValueBuilder<V2,V1> valuebuilder,
String name,
String description) |
Copyright © 2019. All rights reserved.