Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: please help me with this interface.
|
Posted: Feb 10, 2003 6:56 PM
|
|
What was wrong with the previous answers? Maybe you need to post the whole text of the homework assignment, since it is not clear what you mean by "implement." To implement an interface usually means simply to write a class just as Ryan Shriver did in his answer to your previous posting of this question.
Are you really asking how to implement a set? If so, what are the requirements of your homework assignment? That is, are you not allowed to use any existing Java Collections? Are you supposed to do it "by hand?" Is that what your LinkedSet is? Is your set supposed to be implemented in a LinkedList? If so, are you allowed to use the java.util.LinkedList in your implementation?
|
|