Class AbstractCollector<E>

java.lang.Object
com.networknt.schema.AbstractCollector<E>
Type Parameters:
E - the type
All Implemented Interfaces:
Collector<E>

public abstract class AbstractCollector<E> extends Object implements Collector<E>
Base collector.
  • Constructor Details

    • AbstractCollector

      public AbstractCollector()
  • Method Details

    • combine

      public void combine(Object object)
      Description copied from interface: Collector
      This method should be called by the intermediate touch points that want to combine the data being collected by this collector. This is an optional method and could be used when the same collector is used for collecting data at multiple touch points or accumulating data at same touch point.
      Specified by:
      combine in interface Collector<E>
      Parameters:
      object - Object