net.sf.beep4j.internal.util
Interface Sequence<T extends java.lang.Number>

All Known Implementing Classes:
IntegerSequence

public interface Sequence<T extends java.lang.Number>

A Sequence returns positive sequential numbers. After reaching the maximum value, the sequence number should cycle back to zero and start again.

Author:
Simon Raess

Method Summary
 T next()
          Returns the next value from this sequence.
 

Method Detail

next

T next()
Returns the next value from this sequence.

Returns:
the next number


Copyright © 2007 null. All Rights Reserved.