org.hsqldb
Class NumberSequence

java.lang.Object
  extended byorg.hsqldb.NumberSequence

public class NumberSequence
extends Object

Maintains a sequence of numbers.

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Constructor Summary
NumberSequence(org.hsqldb.HsqlNameManager.HsqlName name, long value, long increment, int type)
          constructor with initial value and increment;
 
Method Summary
 org.hsqldb.HsqlNameManager.HsqlName getName()
           
 long peek()
          get next value without incrementing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberSequence

public NumberSequence(org.hsqldb.HsqlNameManager.HsqlName name,
                      long value,
                      long increment,
                      int type)
constructor with initial value and increment;

Method Detail

peek

public long peek()
get next value without incrementing


getName

public org.hsqldb.HsqlNameManager.HsqlName getName()


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.