org.apache.labs.bananadb.store.sequence
Class SequenceManager.Sequence.ReservedSequenceRange<T>

java.lang.Object
  extended by org.apache.labs.bananadb.store.sequence.SequenceManager.Sequence.ReservedSequenceRange<T>
Direct Known Subclasses:
FilebasedSequenceManager.NumbericSequence.NumericRange, UnsafeSequenceManager.LongSequence.LongRange
Enclosing class:
SequenceManager.Sequence<T>

public abstract class SequenceManager.Sequence.ReservedSequenceRange<T>
extends java.lang.Object


Constructor Summary
SequenceManager.Sequence.ReservedSequenceRange()
           
 
Method Summary
abstract  boolean hasNextValue()
           
abstract  T nextValue()
           
abstract  int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceManager.Sequence.ReservedSequenceRange

public SequenceManager.Sequence.ReservedSequenceRange()
Method Detail

size

public abstract int size()

nextValue

public abstract T nextValue()
                     throws java.util.NoSuchElementException
Throws:
java.util.NoSuchElementException

hasNextValue

public abstract boolean hasNextValue()


Copyright © 2009 Apache Software Foundation. All Rights Reserved.