Returns a List of the specified portion of this vector from the start index to one less than the end index. The returned List is backed by this vector so changes to one are reflected by the other. @param start the index at which to start the sublist. @param end the index one p
(int start, int end)
| 950 | * if {@code start > end}. |
| 951 | */ |
| 952 | @Override |
| 953 | public synchronized List<E> subList(int start, int end) { |
| 954 | return new Collections.SynchronizedRandomAccessList<E>(super.subList( |
| 955 | start, end), this); |
| 956 | } |
| 957 | |
| 958 | /** |
| 959 | * Returns a new array containing all elements contained in this vector. |