Class ExponentialInterval

  • All Implemented Interfaces:
    Interval

    public class ExponentialInterval
    extends java.lang.Object
    implements Interval
    Version:
    $Id: ExponentialInterval.java,v 1.1 2007/08/14 07:51:12 belaban Exp $
    Author:
    Bela Ban
    • Constructor Detail

      • ExponentialInterval

        public ExponentialInterval()
      • ExponentialInterval

        public ExponentialInterval​(long value)
    • Method Detail

      • next

        public long next()
        Specified by:
        next in interface Interval
        Returns:
        the next interval
      • copy

        public final Interval copy()
        We don't need to copy as we don't have any state
        Specified by:
        copy in interface Interval
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object