Interface Receiver<T>

Type Parameters:
T - The object type.

public interface Receiver<T>
Receiver of objects. Mimics the Consumer functional interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    receive(T object)
    Receives an object.
  • Method Details

    • receive

      void receive(T object)
      Receives an object.
      Parameters:
      object - The object.