aspose file tools*
The moose likes Java in General and the fly likes [resolved] Problem with generic methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "[resolved] Problem with generic methods" Watch "[resolved] Problem with generic methods" New topic
Author

[resolved] Problem with generic methods

Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
For my Java class, we are supposed to code a simple LinkedList implementation. We don't have to use generics but I thought I would try for a little extra experience. Sorry in advance for the length of the post. I would have pared it down but I really dont know where the problem is.

The errors I'm getting:

[ March 20, 2006: Message edited by: Garrett Rowe ]

Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
Never mind I figured it out. I hadt to change these two lines:


to this:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [resolved] Problem with generic methods