All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springmodules.validation.util.collection.ReadOnlyIterator Maven / Gradle / Ivy

There is a newer version: 0.8a
Show newest version
package org.springmodules.validation.util.collection;

import java.util.Iterator;

/**
 * @author Uri Boness
 */
public abstract class ReadOnlyIterator implements Iterator {

    /**
     * @see java.util.Iterator#remove()
     */
    public void remove() {
        throw new UnsupportedOperationException("A read-only iterator cannot remove elements");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy