What are the differences between a free interface and a chain of methods?

The question is the same as the name. :)

+3
source share
1 answer
  • A free interface may have some method chain requirements. For example, a chain of methods may be required to complete with .done().
  • This is more general. You can use the methods in the chain parameters: .namesIn(NameSet.name("John").and("Richard")).
+2
source

Source: https://habr.com/ru/post/1788763/


All Articles