uka.util
Class ShortSequence

java.lang.Object
  extended byuka.util.ShortSequence
All Implemented Interfaces:
ShortIterator
Direct Known Subclasses:
ShortQueue

public abstract class ShortSequence
extends java.lang.Object
implements ShortIterator

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

Author:
Bernhard Haumacher
See Also:
ShortIterator

Field Summary
static ShortIterator EMPTY
           
 
Constructor Summary
ShortSequence()
           
 
Method Summary
 void remove()
          Removes the last short 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.ShortIterator
hasNext, next
 

Field Detail

EMPTY

public static final ShortIterator EMPTY
Constructor Detail

ShortSequence

public ShortSequence()
Method Detail

remove

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

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