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.
Add your comment