Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What jar to resolve this import

 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Does anyone know what jar I have to add to my build path in Eclipse to resolve this import....

import org.apache.commons.collections.map.LRUMap;

Thanks,
Jehan
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google suggests Apache Commons Collections
By the way, the package naming convention is to use a domain name for the first two packages, putting the top-level first. It is a simple way to provide a large name space and to provide hints as to where one could find a file. If, from your example, you pointed your browser at apache.org (the first two packages) and looked for a link to commons, then a link for collections, you'd be exactly where I linked above.
[ March 14, 2008: Message edited by: Joe Ess ]
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is also the JAR Class Finder plug-in which can be really useful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic