--- jsr166/src/main/java/util/Collection.java 2005/10/01 18:09:46 1.1 +++ jsr166/src/main/java/util/Collection.java 2010/09/05 21:32:19 1.11 @@ -1,8 +1,26 @@ /* - * @(#)Collection.java 1.52 05/08/27 + * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. - * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Sun designates this + * particular file as subject to the "Classpath" exception as provided + * by Sun in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. */ package java.util; @@ -58,7 +76,7 @@ package java.util; * *
It is up to each collection to determine its own synchronization * policy. In the absence of a stronger guarantee by the - * implementation, undefined bahavior may result from the invocation + * implementation, undefined behavior may result from the invocation * of any method on a collection that is being mutated by another * thread; this includes direct invocations, passing the collection to * a method that might perform invocations, and using an existing @@ -82,25 +100,24 @@ package java.util; * implementor deems it appropriate. * *
This interface is a member of the
- *
+ *
* Java Collections Framework.
*
* @author Josh Bloch
* @author Neal Gafter
- * @version 1.52, 08/27/05
- * @see Set
- * @see List
- * @see Map
- * @see SortedSet
- * @see SortedMap
- * @see HashSet
- * @see TreeSet
- * @see ArrayList
- * @see LinkedList
- * @see Vector
+ * @see Set
+ * @see List
+ * @see Map
+ * @see SortedSet
+ * @see SortedMap
+ * @see HashSet
+ * @see TreeSet
+ * @see ArrayList
+ * @see LinkedList
+ * @see Vector
* @see Collections
- * @see Arrays
- * @see AbstractCollection
+ * @see Arrays
+ * @see AbstractCollection
* @since 1.2
*/
@@ -260,7 +277,7 @@ public interface Collection