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

com.bazoud.elasticsearch.river.git.guava.Visitors Maven / Gradle / Ivy

package com.bazoud.elasticsearch.river.git.guava;

/**
 * @author Olivier Bazoud
 */
public final class Visitors {
    private Visitors() {
    }

    public static  void visit(Iterable iterable, Visitor visitor) throws Exception {
        visitor.before();
        for (T current : iterable) {
            visitor.visit(current);
        }
        visitor.after();

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy