Lines Matching defs:equals
39 * <tt>S</tt> is said to be <i>consistent with equals</i> if and only if
41 * <tt>e1.equals(e2)</tt> for every <tt>e1</tt> and <tt>e2</tt> in
45 * ordering inconsistent with equals to order a sorted set (or sorted map).
48 * ordering imposed by <tt>c</tt> on <tt>S</tt> is inconsistent with equals,
51 * map), which is defined in terms of <tt>equals</tt>.<p>
54 * {@code (a.equals(b) && c.compare(a, b) != 0)}
80 * equals</i>, we mean that the quotient for the ordering is the equivalence
81 * relation defined by the objects' {@link Object#equals(Object)
82 * equals(Object)} method(s):<pre>
83 * {(x, y) such that x.equals(y)}. </pre>
128 * <tt>(compare(x, y)==0) == (x.equals(y))</tt>. Generally speaking,
131 * imposes orderings that are inconsistent with equals."
148 * {@link Object#equals(Object)}. Additionally, this method can return
151 * <code>comp1.equals(comp2)</code> implies that <tt>sgn(comp1.compare(o1,
156 * <tt>Object.equals(Object)</tt>. However, overriding this method may,
164 * @see Object#equals(Object)
167 boolean equals(Object obj);