| 接口 | 说明 |
|---|---|
| Builder<O> |
Interface for building an Object
|
| ConfigurableBuilder<O,H extends ConfigurableBuilder<O,H>> | |
| Configurer<O,B extends Builder<O>> |
Allows for configuring a
Builder. |
| Customizer<T> |
Callback interface that accepts a single input argument and returns no result.
|
| 类 | 说明 |
|---|---|
| AbstractBuilder<O> | |
| AbstractConfiguredBuilder<O,B extends ConfigurableBuilder<O,B>> |
A base
Builder that allows Configurer to be applied to
it. |
| AbstractConfigurer<O,B extends Builder<O>> |
A base class for
Configurer that allows subclasses to only implement
the methods they are interested in. |
| 异常错误 | 说明 |
|---|---|
| AlreadyBuiltException |
Thrown when
AbstractBuilder.build() is two or more times. |
Copyright © 2021. All rights reserved.