org.jruby.ir.util.DataIterable Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.jruby.ir.util;
import java.util.Iterator;
import java.util.Set;
/**
*
* @author enebo
*/
public class DataIterable implements Iterable {
private Set> edges;
private Object type;
private boolean negate;
private boolean source;
public DataIterable(Set> edges, Object type, boolean source, boolean negate) {
this.edges = edges;
this.type = type;
this.negate = negate;
this.source = source;
}
public Iterator iterator() {
return new DataIterator(edges, type, source, negate);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy