equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
131 * <li>They are <a href="../lang/doc-files/ValueBased.html">value-based</a>. |
131 * <li>They are <a href="../lang/doc-files/ValueBased.html">value-based</a>. |
132 * Callers should make no assumptions about the identity of the returned instances. |
132 * Callers should make no assumptions about the identity of the returned instances. |
133 * Factories are free to create new instances or reuse existing ones. Therefore, |
133 * Factories are free to create new instances or reuse existing ones. Therefore, |
134 * identity-sensitive operations on these instances (reference equality ({@code ==}), |
134 * identity-sensitive operations on these instances (reference equality ({@code ==}), |
135 * identity hash code, and synchronization) are unreliable and should be avoided. |
135 * identity hash code, and synchronization) are unreliable and should be avoided. |
|
136 * <li>They are serialized as specified on the |
|
137 * <a href="{@docRoot}/serialized-form.html#java.util.CollSer">Serialized Form</a> |
|
138 * page. |
136 * </ul> |
139 * </ul> |
137 * |
140 * |
138 * <p>This interface is a member of the |
141 * <p>This interface is a member of the |
139 * <a href="{@docRoot}/../technotes/guides/collections/index.html"> |
142 * <a href="{@docRoot}/../technotes/guides/collections/index.html"> |
140 * Java Collections Framework</a>. |
143 * Java Collections Framework</a>. |