equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, 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 |
82 * quotient for the natural ordering is the equivalence relation defined by |
82 * quotient for the natural ordering is the equivalence relation defined by |
83 * the class's {@link Object#equals(Object) equals(Object)} method:<pre> |
83 * the class's {@link Object#equals(Object) equals(Object)} method:<pre> |
84 * {(x, y) such that x.equals(y)}. </pre><p> |
84 * {(x, y) such that x.equals(y)}. </pre><p> |
85 * |
85 * |
86 * This interface is a member of the |
86 * This interface is a member of the |
87 * <a href="{@docRoot}/java/util/package-summary.html#CollectionsFramework"> |
87 * <a href="{@docRoot}/java.base/java/util/package-summary.html#CollectionsFramework"> |
88 * Java Collections Framework</a>. |
88 * Java Collections Framework</a>. |
89 * |
89 * |
90 * @param <T> the type of objects that this object may be compared to |
90 * @param <T> the type of objects that this object may be compared to |
91 * |
91 * |
92 * @author Josh Bloch |
92 * @author Josh Bloch |