Uses of Class
org.aksw.commons.util.stream.CollapseRunsSpec
Packages that use CollapseRunsSpec
-
Uses of CollapseRunsSpec in org.aksw.commons.util.stream
Methods in org.aksw.commons.util.stream that return CollapseRunsSpecModifier and TypeMethodDescriptionstatic <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.create(Function<? super T, ? extends K> getGroupKey, BiFunction<? super Long, ? super K, ? extends V> accCtor, BiConsumer<? super V, ? super T> accAdd) Create method with the following characteristics: the accumulator constructor receives the number of so-far created accumulators (starting with 0) and the group key Group keys are compared using Objects::equalsstatic <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.create(Function<? super T, ? extends K> getGroupKey, BiPredicate<? super K, ? super K> groupKeyCompare, BiFunction<? super Long, ? super K, ? extends V> accCtor, BiFunction<? super V, ? super T, ? extends V> accAdd) static <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.create(Function<? super T, ? extends K> getGroupKey, BiPredicate<? super K, ? super K> groupKeyCompare, Function<? super K, ? extends V> accCtor, BiConsumer<? super V, ? super T> accAdd) static <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.create(Function<? super T, ? extends K> getGroupKey, BiPredicate<? super K, ? super K> groupKeyCompare, Function<? super K, ? extends V> accCtor, BiFunction<? super V, ? super T, ? extends V> accAdd) static <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.create(Function<? super T, ? extends K> getGroupKey, Function<? super K, ? extends V> accCtor, BiConsumer<? super V, ? super T> accAdd) Create method with the following characteristics: the accumulator constructor receives the group key Group keys are compared using Objects::equalsstatic <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.create(Function<? super T, ? extends K> getGroupKey, Supplier<? extends V> accCtor, BiConsumer<? super V, ? super T> accAdd) static <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.createAcc(Function<? super T, ? extends K> getGroupKey, Function<? super K, ? extends V> accCtor, BiFunction<? super V, ? super T, ? extends V> accAdd) Create method with the following characteristics: the accumulator constructor receives the group key Group keys are compared using Objects::equalsstatic <T,K, V> CollapseRunsSpec<T, K, V> CollapseRunsSpec.createAcc(Function<? super T, ? extends K> getGroupKey, Supplier<? extends V> accCtor, BiFunction<? super V, ? super T, ? extends V> accAdd) Create method with the following characteristics: the accumulator constructor is a mere supplier (and thus neither depends on the accumulator count nor the group Key) Group keys are compared using Objects::equalsstatic <T,K> CollapseRunsSpec<T, K, List<T>> CollapseRunsSpec.createList(Function<? super T, ? extends K> getGroupKey) Methods in org.aksw.commons.util.stream with parameters of type CollapseRunsSpecModifier and TypeMethodDescriptionstatic <T,K, V> StreamOperatorCollapseRuns<T, K, V> StreamOperatorCollapseRuns.create(CollapseRunsSpec<T, K, V> spec) Constructors in org.aksw.commons.util.stream with parameters of type CollapseRunsSpecModifierConstructorDescriptionCollapseRunsOperationBase(CollapseRunsSpec<T, K, V> other) StreamOperatorCollapseRuns(CollapseRunsSpec<T, K, V> other)