ch.lambdaj.util.iterator.ResettableIterator Maven / Gradle / Ivy
// Modified or written by Ex Machina SAGL for inclusion with lambdaj.
// Copyright (c) 2009 Mario Fusco.
// Licensed under the Apache License, Version 2.0 (the "License")
package ch.lambdaj.util.iterator;
import java.util.*;
/**
* An Iterator that can reset its cursor to its initial position
* @author Mario Fusco
*/
public abstract class ResettableIterator implements Iterator {
/**
* Resets the cursor of this Iterator to its initial position
*/
public abstract void reset();
/**
* {@inheritDoc}
*/
public void remove() {
throw new UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy