Commit a5819919 authored by Daniel Le Berre's avatar Daniel Le Berre
Browse files

With Romain and Manu, IVec is now Iterable

parent 6183de1e
Pipeline #20146 failed with stages
in 19 minutes and 49 seconds
......@@ -31,7 +31,6 @@ package org.sat4j.specs;
import java.io.Serializable;
import java.util.Comparator;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
......@@ -39,7 +38,7 @@ import java.util.NoSuchElementException;
*
* @author leberre
*/
public interface IVec<T> extends Serializable, Cloneable {
public interface IVec<T> extends Serializable, Cloneable, Iterable<T> {
/**
* @return the number of elements contained in the vector
......@@ -211,8 +210,6 @@ public interface IVec<T> extends Serializable, Cloneable {
*/
boolean isEmpty();
Iterator<T> iterator();
/**
*
* @param element
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment