Interface Processor.Iso<V>

Type Parameters:
V - The input and output type
All Superinterfaces:
Processor<V,​V>, Publisher<V>, Subscriber<V>
All Known Subinterfaces:
Enclosing interface:

public static interface Processor.Iso<V>
extends Processor<V,​V>
A Processor that has the same type for inputs and outputs
  • Method Details

    • inject

      default void inject​(V element)
      Description copied from interface: Processor
      Submit an element of the observed type, bypassing any mapping this Processor may do. If the input type of this processor equals the output type, this is equivalent to Subscriber.submit(Object)
      Specified by:
      inject in interface Processor<V,​V>
      element - The element to submit