How would you handle making an array or list that would have more entries than the standard implemen
Posted
by faceless1_14
on Stack Overflow
See other posts from Stack Overflow
or by faceless1_14
Published on 2009-07-09T17:08:42Z
Indexed on
2010/04/12
23:52 UTC
Read the original article
Hit count: 404
I am trying to create an array or list that could handle in theory, given adequate hardware and such, as many as 100^100 BigInteger entries. The problem with using an array or standard list is that they can only hold Integer.MAX_VALUE number of entries. How would you work around this limitations? A whole new class/interface? A wrapper for list? another data type entirely?
© Stack Overflow or respective owner