Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

implementing collections in 1.1.6  RSS feed

 
Kaustubh Patil
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to develope an application to be deployed on NAS/NES.
The difficulty here is that NAS runs a 1.1.6 version JVM, so we have to write all our code in 1.1.6.
I have to write some collections for the applications. Now the only default collection available in 1.1.6 is "Vector" , which is synchronised. But I wanted a better collection.
What would be the best way to emulate some of the collections in the 1.1.6. What is the most efficient data structure.
If you could give me some hints about the algorithms for implementing them I would be very thankful.
Just for information.. my collection is not search intensive.. Much of it is just linear access not random..
Thanks,
Kaustubh
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The java collection framework is available as additional download for JDK 1.1
Infos at http://java.sun.com/products/javabeans/infobus/collectionsreadme.html
Download at the bottom of http://java.sun.com/products/javabeans/infobus/#DOWNLOAD_COLLECTIONS
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kaustubh, you've got the quote slightly off. The elegant prose of computer books is not something to toy with, right Michael Ernest?
 
Kaustubh Patil
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot, I will surely try it out..
Kaustubh.
 
Igor Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!, I think you can download 1.4 and take look
for the source for collection, also you can
find some alternative implementations, for
example see appache.com (eskalibre ???) or try to search by google.com, something like "java collection download..."
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!