Package pal.math

Interface OrderEnumerator


  • public interface OrderEnumerator
    A means for describing odering information, and Utilities for creating such Orderings
    Version:
    $Id: OrderEnumerator.java,v 1.1 2002/04/16 05:37:05 matt Exp $
    Author:
    Matthew Goode
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getNext()
      The next value in the enumeration
      boolean hasMore()
      If hasMore returns false reset should be called
      void reset()
      Reset back to starting state, may have a differnet number of values, and a different ordering after a reset!
    • Method Detail

      • hasMore

        boolean hasMore()
        If hasMore returns false reset should be called
      • getNext

        int getNext()
        The next value in the enumeration
      • reset

        void reset()
        Reset back to starting state, may have a differnet number of values, and a different ordering after a reset!