Class AggFinish.AccFinish<I,E,O,V>

java.lang.Object
org.aksw.commons.collector.core.AggFinish.AccFinish<I,E,O,V>
All Implemented Interfaces:
Serializable, Accumulator<I,E,V>
Enclosing class:
AggFinish<B, I, E, O, C extends Aggregator<B,E,I>>

public static class AggFinish.AccFinish<I,E,O,V> extends Object implements Accumulator<I,E,V>, Serializable
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • accumulate

      public void accumulate(I input, E env)
      Description copied from interface: Accumulator
      Accumulate an input value w.r.t. to an environment
      Specified by:
      accumulate in interface Accumulator<I,E,O>
    • getSubAcc

      public Accumulator<I,E,O> getSubAcc()
    • getValue

      public V getValue()
      Description copied from interface: Accumulator
      Obtain the output based on the so-far accumulated inputs
      Specified by:
      getValue in interface Accumulator<I,E,O>
    • getTransform

      public Function<? super O, V> getTransform()
      Shortcut for getEnclosingInstance().getTransform()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object