Link Details

Link 9535 thumbnail
User 111696 avatar

By bloid
via javalobby.org
Published: Dec 21 2006 / 14:17

One of the neat tricks of the Collection.toArray(Object[]) method is that it will always return an array matching the passed in type, irrespective of whether or not the one you passed in can be used to hold all of the objects in the array.
  • 10
  • 0
  • 1014
  • 283

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)