com.github.olaaronsson.process.histogram.LifeCycleHistogramCollector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catchitcozucan Show documentation
Show all versions of catchitcozucan Show documentation
nifty portable processing library for stateful subjects
The newest version!
package com.github.olaaronsson.process.histogram;
import static java.util.stream.Collector.Characteristics.CONCURRENT;
import static java.util.stream.Collector.Characteristics.UNORDERED;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BinaryOperator;
import java.util.function.Function;
import java.util.stream.Collector;
public class LifeCycleHistogramCollector implements Collector, Map> {
private final LifeCycleProvider lifeCycle;
public LifeCycleHistogramCollector(LifeCycleProvider lifeCycle) {
this.lifeCycle = lifeCycle;
}
public Enum[] getCycle() {
return lifeCycle.getCycle();
}
@Override
public java.util.function.Supplier
© 2015 - 2025 Weber Informatics LLC | Privacy Policy