Skip to content

Commit 4f37377

Browse files
committed
README: add link to example
1 parent 0119435 commit 4f37377

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ a method `a(int)` to set the optional parameter. But `FactoryAOptions::a` should
1414
and `FactoryBOptions::a` should return a `FactoryBOptions` to allow chaining more parameters of
1515
`FactoryAOptions` and `FactoryBOptions` respectively, while retaining the type of the builder.
1616

17-
Using scijava-optional, this can be achieved as follows:
17+
Using scijava-optional, this can be achieved as follows (see [full example](src/test/java/org/scijava/optional/examples/Playground.java)):
1818

1919
Each subset of optional parameters ("`int a`" in the above example) is implemented as two interfaces,
2020
one exposing methods to set the parameters, one exposing methods to retrieve parameter values.

0 commit comments

Comments
 (0)