org.jgroups.stack
Class ExponentialInterval

java.lang.Object
  extended by org.jgroups.stack.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 Summary
ExponentialInterval()
           
ExponentialInterval(long value)
           
 
Method Summary
 Interval copy()
          We don't need to copy as we don't have any state
 long next()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


Copyright ? 1998-2008 Bela Ban. All Rights Reserved.