comparison graal/com.oracle.graal.graph/src/com/oracle/graal/graph/NodeClassIterable.java @ 15146:65efd2eeea1b

Remove AbstractNodeIterable, move its methods to default methods on NodeIterable. This allows to remove a number of duplicated methods in NodeList NodeClassIterable is also interface instead of an abstract class.
author Gilles Duboscq <duboscq@ssw.jku.at>
date Mon, 14 Apr 2014 16:31:13 +0200
parents 5e3d1a68664e
children ddd68e267e34
comparison
equal deleted inserted replaced
15145:df2ef5204f2b 15146:65efd2eeea1b
28 28
29 /** 29 /**
30 * The iterator returned by this iterable can be used to access {@link Position Positions} during 30 * The iterator returned by this iterable can be used to access {@link Position Positions} during
31 * iteration using {@link NodeClassIterator#nextPosition()}. 31 * iteration using {@link NodeClassIterator#nextPosition()}.
32 */ 32 */
33 public abstract class NodeClassIterable extends AbstractNodeIterable<Node> { 33 public interface NodeClassIterable extends NodeIterable<Node> {
34 34
35 @Override 35 @Override
36 public abstract NodeClassIterator iterator(); 36 public abstract NodeClassIterator iterator();
37 } 37 }