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

Comparing jsr166/src/jsr166e/extra/ReadMostlyVector.java (file contents):
Revision 1.31 by jsr166, Sun Nov 18 18:03:10 2012 UTC vs.
Revision 1.34 by jsr166, Mon Jan 14 18:52:56 2013 UTC

# Line 93 | Line 93 | public class ReadMostlyVector<E>
93       * Creates an empty vector with the given initial capacity.
94       *
95       * @param initialCapacity the initial capacity of the underlying array
96     *
96       * @throws IllegalArgumentException if initial capacity is negative
97       */
98      public ReadMostlyVector(int initialCapacity) {
# Line 594 | Line 593 | public class ReadMostlyVector<E>
593          }
594          if (oobe)
595              throw new ArrayIndexOutOfBoundsException(index);
596 <        return (E)e;
596 >        return e;
597      }
598  
599      public int hashCode() {
# Line 1248 | Line 1247 | public class ReadMostlyVector<E>
1247  
1248      static final class ReadMostlyVectorSublist<E>
1249              implements List<E>, RandomAccess, java.io.Serializable {
1250 <        static final long serialVersionUID = 3041673470172026059L;
1250 >        private static final long serialVersionUID = 3041673470172026059L;
1251  
1252          final ReadMostlyVector<E> list;
1253          final int offset;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines