Welcome to Dream.In.Code
Become a Java Expert!

Join 149,584 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,781 people online right now. Registration is fast and FREE... Join Now!




Single linked list using generic type

 
Reply to this topicStart new topic

Single linked list using generic type

itsjustme82
11 Oct, 2007 - 02:36 PM
Post #1

New D.I.C Head
*

Joined: 29 Sep, 2007
Posts: 16


My Contributions
I was given an assignment to work on Single linked list using generic type.
I am very new to java and could not understand where to start.

the discreption is

1. The class should be named LinkedList, implement the List interface, and should be
generic on the element type.
2. Implement the class as a singly-linked list.
3. The iterator class may simply stub the remove method as discussed in class.
4. Name your test class LinkedListTest. Note this class should not be generic.


anyone please help me where to start.
User is offlineProfile CardPM
+Quote Post

m2s87
RE: Single Linked List Using Generic Type
11 Oct, 2007 - 03:19 PM
Post #2

D.I.C Regular
Group Icon

Joined: 28 Nov, 2006
Posts: 390



Thanked: 3 times
Dream Kudos: 1225
My Contributions
My guess would be, something like this.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 10:51PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month