--- jsr166/src/main/java/util/Collection.java 2005/10/01 18:09:46 1.1 +++ jsr166/src/main/java/util/Collection.java 2007/05/20 07:54:01 1.7 @@ -1,8 +1,26 @@ /* - * @(#)Collection.java 1.52 05/08/27 + * Copyright 1997-2006 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, + * CA 95054 USA or visit www.sun.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,12 +100,12 @@ 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 + * @version %I%, %G% * @see Set * @see List * @see Map