Class Sort.Builder

All Implemented Interfaces:
Prototype.Builder<Sort.Builder, Sort>, Builder<Sort.Builder, Sort>, Supplier<Sort>
Enclosing interface:
Sort

public static class Sort.Builder extends Sort.BuilderBase<Sort.Builder, Sort> implements Builder<Sort.Builder, Sort>
Fluent API builder for Sort.
  • Method Details

    • buildPrototype

      public Sort buildPrototype()
      Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      buildPrototype in interface Prototype.Builder<Sort.Builder, Sort>
      Returns:
      an instance of the setup object created from this builder
    • build

      public Sort build()
      Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      build in interface Builder<Sort.Builder, Sort>
      Returns:
      instance of the built type