org.apache.labs.bananadb.store.sequence
Class FilebasedSequenceManager.NumbericSequence.NumericRange<T>

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

public abstract class FilebasedSequenceManager.NumbericSequence.NumericRange<T>
extends SequenceManager.Sequence.ReservedSequenceRange<T>


Field Summary
protected  T end
           
protected  T start
           
 
Constructor Summary
protected FilebasedSequenceManager.NumbericSequence.NumericRange(int size, T start, T end)
           
 
Method Summary
 int size()
           
 
Methods inherited from class org.apache.labs.bananadb.store.sequence.SequenceManager.Sequence.ReservedSequenceRange
hasNextValue, nextValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

protected final T start

end

protected final T end
Constructor Detail

FilebasedSequenceManager.NumbericSequence.NumericRange

protected FilebasedSequenceManager.NumbericSequence.NumericRange(int size,
                                                                 T start,
                                                                 T end)
Method Detail

size

public int size()
Specified by:
size in class SequenceManager.Sequence.ReservedSequenceRange<T>


Copyright © 2009 Apache Software Foundation. All Rights Reserved.