uka.util
Class BooleanSequence

java.lang.Object
  extended byuka.util.BooleanSequence
All Implemented Interfaces:
BooleanIterator
Direct Known Subclasses:
BooleanQueue

public abstract class BooleanSequence
extends java.lang.Object
implements BooleanIterator

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

Author:
Bernhard Haumacher
See Also:
BooleanIterator

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

Field Detail

EMPTY

public static final BooleanIterator EMPTY
Constructor Detail

BooleanSequence

public BooleanSequence()
Method Detail

remove

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

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