Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/java/util/Vector.java
          +++ new/src/share/classes/java/util/Vector.java
↓ open down ↓ 911 lines elided ↑ open up ↑
 912  912       *          (all other elements are removed)
 913  913       * @return true if this Vector changed as a result of the call
 914  914       * @throws ClassCastException if the types of one or more elements
 915  915       *         in this vector are incompatible with the specified
 916  916       *         collection (optional)
 917  917       * @throws NullPointerException if this vector contains one or more null
 918  918       *         elements and the specified collection does not support null
 919  919       *         elements (optional), or if the specified collection is null
 920  920       * @since 1.2
 921  921       */
 922      -    public synchronized boolean retainAll(Collection<?> c)  {
      922 +    public synchronized boolean retainAll(Collection<?> c) {
 923  923          return super.retainAll(c);
 924  924      }
 925  925  
 926  926      /**
 927  927       * Inserts all of the elements in the specified Collection into this
 928  928       * Vector at the specified position.  Shifts the element currently at
 929  929       * that position (if any) and any subsequent elements to the right
 930  930       * (increases their indices).  The new elements will appear in the Vector
 931  931       * in the order that they are returned by the specified Collection's
 932  932       * iterator.
↓ open down ↓ 266 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX