LimeWire collection component api

org.limewire.collection
Class UnmodifiableIterator<E>

java.lang.Object
  extended by org.limewire.collection.UnmodifiableIterator<E>
All Implemented Interfaces:
java.util.Iterator<E>
Direct Known Subclasses:
EmptyIterator

public abstract class UnmodifiableIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>

A convenience class to aid in developing iterators that cannot be modified.


Constructor Summary
UnmodifiableIterator()
           
 
Method Summary
 void remove()
          Throws UnsupportedOperationException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next
 

Constructor Detail

UnmodifiableIterator

public UnmodifiableIterator()
Method Detail

remove

public final void remove()
Throws UnsupportedOperationException.

Specified by:
remove in interface java.util.Iterator<E>

LimeWire collection component api

Copyright © 2009 Lime Wire LLC. All Rights Reserved.