Implementing a Linked list in Java : I have to create a class named Myset which includes methods like IsEmpty(), Insert(Object O) etc. I thought to use a Linked list of objects to implement the Myset class. But as I am new to Java, I am stuck with creating the object itself i.e. I am not clear even how to start with. I thought of something like this:  
`public class Myset {`  
`LinkedList<Object> LL = new LinkedList<Object>();`  
`}`<Br>
I further have to write a method: `public Myset Union(Myset a)`: Returns a set which is the union of the current set with the set a. This can be done by iterating through a, if the element at a particular index in a is not contained in LL then we add that element to LL. But how do I write this in a Java code? <Br> PS: This is an assignment question and we aren't allowed to use Sets implementation.