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.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()  
    T next()  
    void reset()
    Reset sequence so that it starts again with its first element.
  • Method Details

    • getName

      java.lang.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