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

com.github.phantomthief.model.builder.ModelBuilder Maven / Gradle / Ivy

The newest version!
package com.github.phantomthief.model.builder;

import static java.util.Collections.singleton;

import com.github.phantomthief.model.builder.context.BuildContext;

/**
 * 
 * @author w.vela
 */
public interface ModelBuilder {

    void buildMulti(Iterable sources, B buildContext);

    default void buildSingle(Object one, B buildContext) {
        buildMulti(singleton(one), buildContext);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy