ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/extra166y/ParallelArrayWithBounds.java
(Generate patch)

Comparing jsr166/src/extra166y/ParallelArrayWithBounds.java (file contents):
Revision 1.1 by dl, Tue Jan 6 14:30:58 2009 UTC vs.
Revision 1.6 by jsr166, Wed Jan 16 00:51:11 2013 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7   package extra166y;
# Line 28 | Line 28 | public abstract class ParallelArrayWithB
28       * only on the elements of the array between firstIndex
29       * (inclusive) and upperBound (exclusive).  The bound
30       * arguments are relative to the current bounds.  For example
31 <     * <tt>pa.withBounds(2, 8).withBounds(3, 5)</tt> indexes the
31 >     * {@code pa.withBounds(2, 8).withBounds(3, 5)} indexes the
32       * 5th (= 2+3) and 6th elements of pa. However, indices
33 <     * returned by methods such as <tt>indexOf</tt> are
33 >     * returned by methods such as {@code indexOf} are
34       * with respect to the underlying ParallelArray.
35       * @param firstIndex the lower bound (inclusive)
36       * @param upperBound the upper bound (exclusive)
# Line 41 | Line 41 | public abstract class ParallelArrayWithB
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       */
# Line 102 | Line 102 | public abstract class ParallelArrayWithB
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   }
109

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines