
com.github.phantomthief.model.builder.ModelBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of model-view-builder Show documentation
Show all versions of model-view-builder Show documentation
A hierarchy model builder with view mapper
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