CHAPTER 8
METHODS
258
In Java 9, a client-side index was added to the HTML generated by Javadoc.
This index, which eases the task of navigating large API documentation sets, takes
the form of a search box in the upper-right corner of the page. When you type into
the box, you get a drop-down menu of matching pages. API elements, such as
classes, methods, and fields, are indexed automatically. Occasionally you may
wish to index additional terms that are important to your API. The
{@index}
tag
was added for this purpose. Indexing a term that appears in a doc comment is as
simple as wrapping it in this tag, as shown in this fragment:
* This method complies with the
Do'stlaringiz bilan baham: