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
- Author:
- raven
- 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 Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
create
public static <T,E> AggLcaMap.AccLcaMap<T,E> create(SerializableBiFunction<? super T, ? super T, ? extends T> lcaFinder) -
hashCode
-
equals
-