Interface BaseBuilder<B extends BaseBuilder<B>>

Type Parameters:
B - the specific builder type extending this interface
All Known Subinterfaces:
Mappable<T,C,B>, Mappable.BaseList<T,B>, Mappable.BaseSet<T,B>, SectionMappable<C,S>, SectionMappable.List, SectionMappable.Set, UnitMappable<U,C,UM>, UnitMappable.List<U>, UnitMappable.Set<U>
All Known Implementing Classes:
HashMappable

public interface BaseBuilder<B extends BaseBuilder<B>>
A foundational interface for builder patterns, ensuring a self-referential type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides an instance of the builder, ensuring fluent-style method chaining.
  • Method Details

    • instance

      @NotNull B instance()
      Provides an instance of the builder, ensuring fluent-style method chaining.
      Returns:
      the builder instance