Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andy_boot
on Jan 12, 2012
|
parent
|
context
|
favorite
| on:
Why is C faster than Java: git vs JGit
>>Primitive types have been available since the creation of Java. It's up to the programmer to use boxed types or not.
You can't use a primitive in a collection: eg HashMap / ArrayList
ww520
on Jan 12, 2012
|
next
[–]
Can you use GNU Trove or Apache Commons Primitives that support primitive types in collections?
oconnor0
on Jan 12, 2012
|
prev
[–]
Which is why nifty little libraries like Trove, FastUtil, and HPPC exist.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can't use a primitive in a collection: eg HashMap / ArrayList