Package io.atomix.utils
Interface Builder<T>
-
- Type Parameters:
T- type to build
- All Known Implementing Classes:
LoggerContext.Builder,SerializerBuilder
public interface Builder<T>Object builder.This is a base interface for building objects in Catalyst.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tbuild()Builds the object.
-
-
-
Method Detail
-
build
T build()
Builds the object.The returned object may be a new instance of the built class or a recycled instance, depending on the semantics of the builder implementation. Users should never assume that a builder allocates a new instance.
- Returns:
- The built object.
-
-