Interface NumberSequence<T>

  • Type Parameters:
    T - sequence element type
    All Known Implementing Classes:
    SquarefreeSequence, SquarefreeSequence63

    public interface NumberSequence<T>
    Interface for number sequences of type T.
    Author:
    Tilman Neumann
    • Method Detail

      • getName

        String getName()
        Returns:
        the name of this sequence generator
      • reset

        void reset()
        Reset sequence so that it starts again with its first element.
      • next

        T next()
        Returns:
        the next integer