Fluent Interfaces

  • Makes the api intuitive

  • Can concatenate methods

    • IDE will help suggest next method

  • No temporal coupling

    • Have to know which methods needs to be called first, second..last

  • More readable

  • Example Stream API in java.utils

Last updated