Esri Geoportal Server
1.0

com.esri.gpt.framework.util
Class ReadOnlyIterator<E>

java.lang.Object
  extended by com.esri.gpt.framework.util.ReadOnlyIterator<E>
Type Parameters:
E - type of element
All Implemented Interfaces:
Iterator<E>

public abstract class ReadOnlyIterator<E>
extends Object
implements Iterator<E>

Read-only iterator.


Constructor Summary
ReadOnlyIterator()
           
 
Method Summary
 void remove()
          Since removal is not supported, it 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

ReadOnlyIterator

public ReadOnlyIterator()
Method Detail

remove

public void remove()
Since removal is not supported, it throws UnsupportedOperationException.

Specified by:
remove in interface Iterator<E>
Throws:
UnsupportedOperationException - every time is being invoked

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.