T
- the type that the builder will build (this)B
- the builder typepublic interface ToCopyableBuilder<B extends CopyableBuilder<B,T>,T extends ToCopyableBuilder<B,T>>
CopyableBuilder
. This allows
modification of an otherwise immutable object using the source object as a base.Modifier and Type | Method and Description |
---|---|
B |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
B toBuilder()
Copyright © 2017. All rights reserved.