de.placeblock.betterinventories.Builder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BetterInventories Show documentation
Show all versions of BetterInventories Show documentation
Easy to use and extensive InventoryAPI for Spigot
package de.placeblock.betterinventories;
/**
* Interface for all sorts of builders
* @param The Builder that implements this one
* @param The Result that is produced
*/
public abstract class Builder, P> {
/**
* Returns the Builder instance itself
* @return the Builder instance itself
*/
protected abstract B self();
/**
* Builds the instance
* @return The new instance
*/
public abstract P build();
}