1 | protected boolean doAddAllUnique(int index, Collection<? extends E> collection)↵ | | 1 | protected boolean doAddAllUnique(int index, Collection<? extends E> collection)↵
|
2 | {↵ | | 2 | {↵
|
3 | return super.addAllUnique(index, collection);↵ | | 3 | return super.addAllUnique(index, collection);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Adds each object from start to end of the array to the end of the list↵ | | 6 | * Adds each object from start to end of the array to the end of the list↵
|
7 | ;↵ | | 7 | * and returns whether any objects were added;↵
|
8 | * it does no uniqueness checking.↵ | | 8 | * it does no uniqueness checking.↵
|
9 | * This implementation delegates to {@link #addAllUnique(int, Object[], int, int) addAllUnique(int, Object[], int, int)}.↵ | | 9 | * This implementation delegates to {@link #addAllUnique(int, Object[], int, int) addAllUnique(int, Object[], int, int)}.↵
|
10 | * @param objects the objects to be added.↵ | | 10 | * @param objects the objects to be added.↵
|
11 | * @param start the index of first object to be added.↵ | | 11 | * @param start the index of first object to be added.↵
|
12 | * @param end the index past the last object to be added.↵ | | 12 | * @param end the index past the last object to be added.↵
|
| | | 13 | * @return whether any objects were added.↵
|
13 | * @see #inverseAdd↵ | | 14 | * @see #inverseAdd↵
|
14 | */↵ | | 15 | */↵
|
15 | @Override↵ | | 16 | @Override↵
|
16 | public boolean addAllUnique(Object [] objects, int start, int end)↵ | | 17 | public boolean addAllUnique(Object [] objects, int start, int end)↵
|
17 | {↵ | | 18 | {↵
|
18 | return addAllUnique(size(), objects, start, end);↵ | | 19 | return addAllUnique(size, objects, start, end);↵
|
19 | }↵ | | 20 | }↵
|
|
20 | /**↵ | | 21 | /**↵
|
21 | * Adds each object from start to end of the array to the end of the list↵ | | 22 | * Adds each object from start to end of the array to the end of the list↵
|
22 | * and returns whether any objects were added;↵ | | 23 | * and returns whether any objects were added;↵
|
23 | * it does no ranging checking, uniqueness checking, inverse updating, or notification.↵ | | 24 | * it does no ranging checking, uniqueness checking, inverse updating, or notification.↵
|
24 | * @param objects the objects to be added.↵ | | 25 | * @param objects the objects to be added.↵
|
25 | * @param start the index of first object to be added.↵ | | 26 | * @param start the index of first object to be added.↵
|
26 | * @param end the index past the last object to be added.↵ | | 27 | * @param end the index past the last object to be added.↵
|
27 | * @return whether any objects were added.↵ | | 28 | * @return whether any objects were added.↵
|
28 | */↵ | | 29 | */↵
|
29 | protected boolean doAddAllUnique(Object [] objects, int start, int end)↵ | | 30 | protected boolean doAddAllUnique(Object [] objects, int start, int end)↵
|
30 | {↵ | | 31 | {↵
|
31 | return super.addAllUnique(objects, start, end); | | 32 | return super.addAllUnique(objects, start, end);
|