Skip to content

Commit c27291f

Browse files
committed
Improve Fluent Interface Javadoc
1 parent c989f6c commit c27291f

File tree

1 file changed

+6
-7
lines changed
  • fluentinterface/src/main/java/com/iluwatar/fluentinterface/app

1 file changed

+6
-7
lines changed

fluentinterface/src/main/java/com/iluwatar/fluentinterface/app/App.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111
import static java.lang.String.valueOf;
1212

1313
/**
14-
* Fluent interface pattern is useful when you want to provide an easy readable, flowing API. Those
15-
* interfaces tend to mimic domain specific languages, so they can nearly be read as human
16-
* languages.
14+
* The Fluent Interface pattern is useful when you want to provide an easy readable, flowing API. Those
15+
* interfaces tend to mimic domain specific languages, so they can nearly be read as human languages.
1716
* <p>
1817
* In this example two implementations of a {@link FluentIterable} interface are given. The
19-
* SimpleFluentIterable evaluates eagerly and would be too costly for real world applications. The
20-
* LazyFluentIterable is evaluated on termination. Their usage is demonstrated with a simple number
21-
* list that is filtered, transformed and collected. The result is printed afterwards.
22-
* <p>
18+
* {@link SimpleFluentIterable} evaluates eagerly and would be too costly for real world applications.
19+
* The {@link LazyFluentIterable} is evaluated on termination. Their usage is demonstrated with a
20+
* simple number list that is filtered, transformed and collected. The result is printed afterwards.
21+
*
2322
*/
2423
public class App {
2524

0 commit comments

Comments
 (0)