Package org.aksw.commons.collector.core
Class AggLcaMap.AccLcaMap<T,E>
java.lang.Object
org.aksw.commons.collector.core.AggLcaMap.AccLcaMap<T,E>
- All Implemented Interfaces:
Serializable,Accumulator<T,E, Map<T, T>>
public static class AggLcaMap.AccLcaMap<T,E>
extends Object
implements Accumulator<T,E,Map<T,T>>, Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(T input, E env) Accumulate an input value w.r.t.static <T,E> AggLcaMap.AccLcaMap<T, E> create(SerializableBiFunction<? super T, ? super T, ? extends T> lcaFinder) booleangetValue()Obtain the output based on the so-far accumulated inputsinthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.collector.domain.Accumulator
accumulate
-
Field Details
-
lcaFinder
-
childToAncestor
-
-
Constructor Details
-
AccLcaMap
-
-
Method Details
-
accumulate
Description copied from interface:AccumulatorAccumulate an input value w.r.t. to an environment- Specified by:
accumulatein interfaceAccumulator<T,E, Map<T, T>>
-
getValue
Description copied from interface:AccumulatorObtain the output based on the so-far accumulated inputs -
create
public static <T,E> AggLcaMap.AccLcaMap<T,E> create(SerializableBiFunction<? super T, ? super T, ? extends T> lcaFinder) -
hashCode
public int hashCode() -
equals
-