0

I have a class HashSet that implements Deque: while creating the methods I would like to just use the javadoc for the associated methods that its inheriting/implementing. However, when I run it through javadoc, I get blank descriptions.

For some methods, I have left them without javadoc-comments to see if the javadoc command would automatically supply them, on others I used the {@inheritdoc} commmand to see if that would work, but alas to no avail.

In a super simplified sense, see below:

public class HashSet<T> implements Deque<T> {
    ...

    /**
     * {@inheritDoc}
     */
    public Iterator<T> iterator() {...}

    /**
     * {@inheritDoc}
     */
    @Override
    public Object[] toArray() {...}

    public boolean isEmpty() {...}

    ...
}

I'd appreciate any suggestions.

0 Answers0