File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

find method

 
Ronald Pruitt
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to be able to find an item in a linked list or list array, to create to lists, one ordered by key value and one by count.
Given the following code:

Where can I find examples of the find method that would do the job? Because I'm getting the "method must be declared abstract" message when I try to compile this..
 
Carl Trusiak
Sheriff
Posts: 3340
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only thing I see wrong on a quick once over is your method declaration
public static WordElem find(List T, String sTarget);
This is the reason your getting the abstract error, abstract method definitions end in ;
Change it to
public static WordElem find(List T, String sTarget)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic