net.sf.mpxj.utility
Class Sequence

java.lang.Object
  extended by net.sf.mpxj.utility.Sequence

public class Sequence
extends Object

Trivial class implementing sequence generation.


Constructor Summary
Sequence(int initialValue)
          Constructor.
 
Method Summary
 int next()
          Retrieve the next value in the sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequence

public Sequence(int initialValue)
Constructor. Defines the starting value of the seqence.

Parameters:
initialValue - initial sequence value
Method Detail

next

public int next()
Retrieve the next value in the sequence.

Returns:
next sequence value


Copyright © 2012. All Rights Reserved.