41 |
|
|
42 |
|
/** |
43 |
|
* Returns the index of some element equal to given target, or |
44 |
< |
* -1 if not present |
44 |
> |
* -1 if not present. |
45 |
|
* @param target the element to search for |
46 |
|
* @return the index or -1 if not present |
47 |
|
*/ |
102 |
|
* guarantee that elements with equal keys maintain their relative |
103 |
|
* position in the array. |
104 |
|
* @return this (to simplify use in expressions) |
105 |
< |
* @throws ClassCastException if any element is not Comparable. |
105 |
> |
* @throws ClassCastException if any element is not Comparable |
106 |
|
*/ |
107 |
|
public abstract ParallelArrayWithBounds<T> sort(); |
108 |
|
} |