We learned as a popular Set implementation. Write you own TreeSet class that implements the following interface:
public interface AnotherTreeSet {
public boolean add(Object o);
public void clear();
public boolean contains(Object o);
public boolean isEmpty();
public boolean remove(Object o);
public int size();
}
You are to provide at least one constructor without any parameter. Feel free to add more constructors if needed.