Class PassThruCombiner<T>

  • All Implemented Interfaces:
    java.io.Serializable, Combiner<T>

    public final class PassThruCombiner<T>
    extends java.lang.Object
    implements Combiner<T>
    A PassThruCombiner doesn't do anything. It can be used for operations that require no combination, as in a fork with no join step.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void combineAll​(java.lang.Iterable<T> thingsToCombine)  
      void combineOne​(T thingToCombine)  
      boolean useCombineOne()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PassThruCombiner

        public PassThruCombiner()
    • Method Detail

      • combineAll

        public void combineAll​(java.lang.Iterable<T> thingsToCombine)
        Specified by:
        combineAll in interface Combiner<T>
      • combineOne

        public void combineOne​(T thingToCombine)
        Specified by:
        combineOne in interface Combiner<T>