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

Comparing jsr166/src/main/java/util/Collection.java (file contents):
Revision 1.7 by jsr166, Sun May 20 07:54:01 2007 UTC vs.
Revision 1.9 by jsr166, Sun May 18 23:59:57 2008 UTC

# Line 105 | Line 105 | package java.util;
105   *
106   * @author  Josh Bloch
107   * @author  Neal Gafter
108 < * @version %I%, %G%
109 < * @see     Set
110 < * @see     List
111 < * @see     Map
112 < * @see     SortedSet
113 < * @see     SortedMap
114 < * @see     HashSet
115 < * @see     TreeSet
116 < * @see     ArrayList
117 < * @see     LinkedList
118 < * @see     Vector
108 > * @see     Set
109 > * @see     List
110 > * @see     Map
111 > * @see     SortedSet
112 > * @see     SortedMap
113 > * @see     HashSet
114 > * @see     TreeSet
115 > * @see     ArrayList
116 > * @see     LinkedList
117 > * @see     Vector
118   * @see     Collections
119 < * @see     Arrays
120 < * @see     AbstractCollection
119 > * @see     Arrays
120 > * @see     AbstractCollection
121   * @since 1.2
122   */
123  
# Line 278 | Line 277 | public interface Collection<E> extends I
277       * @param o element to be removed from this collection, if present
278       * @return <tt>true</tt> if an element was removed as a result of this call
279       * @throws ClassCastException if the type of the specified element
280 <     *         is incompatible with this collection (optional)
280 >     *         is incompatible with this collection (optional)
281       * @throws NullPointerException if the specified element is null and this
282       *         collection does not permit null elements (optional)
283       * @throws UnsupportedOperationException if the <tt>remove</tt> operation
# Line 295 | Line 294 | public interface Collection<E> extends I
294       *
295       * @param  c collection to be checked for containment in this collection
296       * @return <tt>true</tt> if this collection contains all of the elements
297 <     *         in the specified collection
297 >     *         in the specified collection
298       * @throws ClassCastException if the types of one or more elements
299       *         in the specified collection are incompatible with this
300       *         collection (optional)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines