Class AccTransform2<B,E,I,O>

java.lang.Object
org.aksw.jenax.arq.aggregation.AccTransform2<B,E,I,O>
All Implemented Interfaces:
org.aksw.commons.collector.domain.Accumulator<B,E,O>
Direct Known Subclasses:
AccTransform

public class AccTransform2<B,E,I,O> extends Object implements org.aksw.commons.collector.domain.Accumulator<B,E,O>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.aksw.commons.collector.domain.Accumulator<B,E,I>
     
    protected Function<? super I,O>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AccTransform2(org.aksw.commons.collector.domain.Accumulator<B,E,I> subAcc, Function<? super I,O> transform)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accumulate(B binding, E env)
     
    static <B, E, I, O> org.aksw.commons.collector.domain.Accumulator<B,E,O>
    create(org.aksw.commons.collector.domain.Accumulator<B,E,I> subAcc, Function<? super I,O> transform)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.aksw.commons.collector.domain.Accumulator

    accumulate
  • Field Details

    • subAcc

      protected org.aksw.commons.collector.domain.Accumulator<B,E,I> subAcc
    • transform

      protected Function<? super I,O> transform
  • Constructor Details

    • AccTransform2

      public AccTransform2(org.aksw.commons.collector.domain.Accumulator<B,E,I> subAcc, Function<? super I,O> transform)
  • Method Details

    • accumulate

      public void accumulate(B binding, E env)
      Specified by:
      accumulate in interface org.aksw.commons.collector.domain.Accumulator<B,E,I>
    • getValue

      public O getValue()
      Specified by:
      getValue in interface org.aksw.commons.collector.domain.Accumulator<B,E,I>
    • create

      public static <B, E, I, O> org.aksw.commons.collector.domain.Accumulator<B,E,O> create(org.aksw.commons.collector.domain.Accumulator<B,E,I> subAcc, Function<? super I,O> transform)