uka.util
Class LongSequence

java.lang.Object
  extended byuka.util.LongSequence
All Implemented Interfaces:
LongIterator
Direct Known Subclasses:
LongQueue

public abstract class LongSequence
extends java.lang.Object
implements LongIterator

This is an abstract superclass for immutable iterators over collections of long values.

Author:
Bernhard Haumacher
See Also:
LongIterator

Field Summary
static LongIterator EMPTY
           
 
Constructor Summary
LongSequence()
           
 
Method Summary
 void remove()
          Removes the last long value returned from the underlying collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uka.util.LongIterator
hasNext, next
 

Field Detail

EMPTY

public static final LongIterator EMPTY
Constructor Detail

LongSequence

public LongSequence()
Method Detail

remove

public final void remove()
Description copied from interface: LongIterator
Removes the last long value returned from the underlying collection.

Specified by:
remove in interface LongIterator
Throws:
UnsupportedOperationException
See Also:
LongIterator.remove()