Class Sequence<T>

  • Type Parameters:
    T - The type of the object which is the source of this sequence.

    public class Sequence<T>
    extends Object
    Class which models a sequence.
    • Constructor Detail

      • Sequence

        public Sequence​(Event[] events,
                        T source)
        Initializes Sequence made up of the specified events and derived from the specified source.
        Parameters:
        events - The events of the sequence.
        source - The source object for this sequence.
    • Method Detail

      • getEvents

        public Event[] getEvents()
        Returns:
        Retrieves the events which make up this sequence.