org.apache.commons.collections.primitives.decorators
Class UnmodifiableByteIterator

java.lang.Object
  extended by org.apache.commons.collections.primitives.decorators.ProxyByteIterator
      extended by org.apache.commons.collections.primitives.decorators.UnmodifiableByteIterator
All Implemented Interfaces:
ByteIterator

public final class UnmodifiableByteIterator
extends ProxyByteIterator

Since:
Commons Primitives 1.0
Version:
$Revision: 1.1 $ $Date: 2003/10/29 18:33:10 $
Author:
Rodney Waldhoff

Field Summary
private  ByteIterator proxied
           
 
Constructor Summary
UnmodifiableByteIterator(ByteIterator iterator)
           
 
Method Summary
protected  ByteIterator getIterator()
           
 void remove()
          Removes from my underlying collection the last element returned by me (optional operation).
static ByteIterator wrap(ByteIterator iterator)
           
 
Methods inherited from class org.apache.commons.collections.primitives.decorators.ProxyByteIterator
hasNext, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxied

private ByteIterator proxied
Constructor Detail

UnmodifiableByteIterator

UnmodifiableByteIterator(ByteIterator iterator)
Method Detail

remove

public void remove()
Description copied from interface: ByteIterator
Removes from my underlying collection the last element returned by me (optional operation).


getIterator

protected ByteIterator getIterator()
Specified by:
getIterator in class ProxyByteIterator

wrap

public static final ByteIterator wrap(ByteIterator iterator)


Copyright (c) 2002-2003 - Apache Software Foundation