org.hamcrest.internal.SelfDescribingValueIterator Maven / Gradle / Ivy
package org.hamcrest.internal;
import java.util.Iterator;
import org.hamcrest.SelfDescribing;
public class SelfDescribingValueIterator implements Iterator {
private Iterator values;
public SelfDescribingValueIterator(Iterator values) {
this.values = values;
}
public boolean hasNext() {
return values.hasNext();
}
public SelfDescribing next() {
return new SelfDescribingValue(values.next());
}
public void remove() {
values.remove();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy