Parent Directory | Revision Log | Patch
revision 1.20.2.1 by tromey, Thu Aug 5 21:09:36 2004 UTC | revision 1.20.2.2 by tromey, Sun Aug 8 06:38:26 2004 UTC | |
---|---|---|
# | Line 566 public class Vector<T> extends AbstractL | Line 566 public class Vector<T> extends AbstractL |
566 | * @throws NullPointerException if <code>a</code> is null | * @throws NullPointerException if <code>a</code> is null |
567 | * @since 1.2 | * @since 1.2 |
568 | */ | */ |
569 | <S> public synchronized S[] toArray(S[] a) | public synchronized <S> S[] toArray(S[] a) |
570 | { | { |
571 | if (a.length < elementCount) | if (a.length < elementCount) |
572 | a = (S[]) Array.newInstance(a.getClass().getComponentType(), | a = (S[]) Array.newInstance(a.getClass().getComponentType(), |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |