On 29/06/2010 23:49, Steven Schveighoffer wrote:
One thing to note, ArrayList *does* accept an array as a constructor,
and it will actually use that array as its storage. This is so you can
"wrap" an array as a ArrayList and get the full dcollections
functionality from it.
Hi Steve
This is why I've switched from LinkList to ArrayList. (ArrayList is
simply cool)
also :
Server nextServer() { return sl[uniform(0, sl.length)]; }
is impossible with LinkList. ( sl is LinkList)
yeah opIndex on linked lists is simply slow.
However the snippet in the previous msg. does not compile.. will see later.
bjoern