ma.vi.base.lang.Builder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.vikmad.base Show documentation
Show all versions of com.vikmad.base Show documentation
Base algos, data structures and utilities
The newest version!
/*
* Copyright (c) 2016 Vikash Madhow
*/
package ma.vi.base.lang;
/**
* A builder knows how to build things. They are useful to
* override configuration defaults in a nice fluent API before
* building objects with substantial configuration options.
*
*
* An example builder usage would be:
*
* T t = TBuilder.newBuilder().x(x).y(y).build()
*
*
* @author Vikash Madhow ([email protected])
*/
public interface Builder {
/**
* Builds and return the required object.
*/
T build();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy