Java PrimerMethod Properties in Java

Listing 15. Two example methods documented using @methodtype and @methodproperties tags.


/**
 * Set a name component to a new value.
 * @methodtype set
 * @methodproperties primitive hook
*/
protected abstract void basicComponent(int index, String component);

/**
 * Return context name of Name object.
 * @methodtype get
 * @methodproperties template
 */
public Name contextName() throws InvalidIndexException { ... }

Featured

Most   Popular
Upcoming Events

AppTrends

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.