Interface CtConsumer<T>

Type Parameters:
T - - the type of accepted elements

public interface CtConsumer<T>
The functional interface used to receive objects. It is used for example to receive results of the query in CtQuery.forEach(CtConsumer)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept​(T t)
    Implement this method to do something with object "t" passed as parameter
  • Method Details

    • accept

      void accept(T t)
      Implement this method to do something with object "t" passed as parameter