All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.ir.util.DataIterable Maven / Gradle / Ivy

There is a newer version: 9.4.9.0
Show newest version
/*
 * 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