Java: substitute for ArrayList cos primitive types not allowed in ArrayList?

Posted by HH on Stack Overflow See other posts from Stack Overflow or by HH
Published on 2010-04-08T17:22:05Z Indexed on 2010/04/08 18:23 UTC
Read the original article Hit count: 331

Filed under:
|
|

Primitive types are not allowed in ArrayList, source. Partial solution: you can wrap prim.types such as int to Integer to form an extra class but a side effect. I want to index data, is there some substitute for ArrayList that allows primitive types?

© Stack Overflow or respective owner

Related posts about java

Related posts about arraylist