Parent Directory | Revision Log | Patch
revision 1.14.2.1 by tromey, Thu Aug 5 21:09:36 2004 UTC | revision 1.14.2.2 by tromey, Sun Aug 8 06:38:26 2004 UTC | |
---|---|---|
# | Line 395 public abstract class AbstractCollection | Line 395 public abstract class AbstractCollection |
395 | * @throws ArrayStoreException if the type of the array precludes holding | * @throws ArrayStoreException if the type of the array precludes holding |
396 | * one of the elements of the Collection | * one of the elements of the Collection |
397 | */ | */ |
398 | <T> public T[] toArray(T[] a) | public <T> T[] toArray(T[] a) |
399 | { | { |
400 | int size = size(); | int size = size(); |
401 | if (a.length < size) | if (a.length < size) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |