Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primitive collections

 
Chinmay Bajikar
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Is there any way for me in Java 1.4 to have a collection(a vector preferably) of primitive elements like int,float instead of Integer,Float(wrapper classes).
Also is there any significant difference between as 'int'(primitive) and an 'Integer'(Object) in terms of mem consumption or speed or storage space.
Thanks,
Chinmay...
[ January 15, 2003: Message edited by: Chinmay Bajikar ]
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chinmay,
I don't know if this helps you, but I did a search at "http://sourceforge.net" for "java primitive collection", and found the following:
http://sourceforge.net/projects/trove4j/
http://sourceforge.net/projects/pcj/
http://sourceforge.net/projects/jaxlib/
Hope it helps you.
Good Luck,
Avi.
 
Chinmay Bajikar
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Avi,
Thanks for those links.
Right now I will be looking at those.
will let u know if those help me.
Thanks,
Chinmay....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic