Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package domain.builder;
- /**
- * Abstract Builder
- *
- * @author Pedro Oliveira
- */
- public abstract class Builder<T> {
- protected final T instance;
- public Builder(T instance) {
- this.instance = instance;
- preencherValoresPadroes();
- }
- abstract void preencherValoresPadroes();
- public abstract T build();
- }
Add Comment
Please, Sign In to add comment