Class ExponentialInterval

java.lang.Object
org.jgroups.stack.ExponentialInterval
All Implemented Interfaces:
Interval

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

    • ExponentialInterval

      public ExponentialInterval()
    • ExponentialInterval

      public ExponentialInterval(long value)
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object