Interface SequenceConsumer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface SequenceConsumer
A SequenceConsumer consumes a Sequence and is used to create lambda expressions used for asynchronous callback.
  • Method Summary

    Modifier and Type Method Description
    void consumeSequence​(Sequence aSequence)
    Callback consuming a Sequence.
  • Method Details

    • consumeSequence

      void consumeSequence​(Sequence aSequence)
      Callback consuming a Sequence.
      Parameters:
      aSequence - The Sequence to be consumed.