This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Primitive collections

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
reply
    Bookmark Topic Watch Topic
  • New Topic