SortedHashSet Error 2

Posted on 2006-05-13
Last Modified: 2008-02-01
Hi some of u might have answered my previous question. Thank you. now i have these following problems.

heres my code

import java.lang.*;
import java.util.*;

class SortedHashSet<T> extends TreeSet<T> { // inherit from TreeSet
      private HashSet<T> hashobject;

      public SortedHashSet (){
            hashobject = new HashSet<T>(); //create new HashSet object
      public boolean add(T item){
            return super.add(item) && hashobject.add(item);
                public void clear(){
      public boolean contains(Object item){
            return hashobject.contains(item);
      public boolean remove(Object item){
            return super.remove(item) && hashobject.remove(item);

then i get the following errors

SortedHashSet.add was missing return tag.
SortedHashSet.contains was missing return tag.
SortedHashSet.remove was missing return tag.

can anyone please help me with this?
Question by:solance
    LVL 86

    Accepted Solution

    That looks like javadoc errors.

    a. They could be ignored
    b. You could 'turn off' strict javadoc checking
    c. You could include the correct javadoc tags

    Obviously option c. is best
    LVL 86

    Expert Comment


    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now