FileDocCategorySizeDatePackage
ReadOnlyIterator.javaAPI DocAndroid 1.5 API1558Wed May 06 22:41:54 BST 2009org.apache.harmony.awt

ReadOnlyIterator

public final class ReadOnlyIterator extends Object implements Iterator
ReadOnlyIterator

Fields Summary
private final Iterator
it
Constructors Summary
public ReadOnlyIterator(Iterator it)

        if (it == null) {
            throw new NullPointerException();
        }
        this.it = it;
    
Methods Summary
public booleanhasNext()

        return it.hasNext();
    
public Enext()

        return it.next();
    
public voidremove()

        // awt.50=Iterator is read-only
        throw new UnsupportedOperationException(Messages.getString("awt.50")); //$NON-NLS-1$