/[classpath]/classpath/java/util/Comparator.java
ViewVC logotype

Diff of /classpath/java/util/Comparator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mkoch, Wed Feb 16 11:18:38 2005 UTC revision 1.9 by mkoch, Wed Feb 16 12:36:21 2005 UTC
# Line 84  public interface Comparator Line 84  public interface Comparator
84     *   <li>if compare(a, b) &lt; 0 and compare(b, c) &lt; 0 then compare(a, c)     *   <li>if compare(a, b) &lt; 0 and compare(b, c) &lt; 0 then compare(a, c)
85     *       &lt; 0</li>     *       &lt; 0</li>
86     *   <li>if compare(a, b) == 0 then compare(a, c) and compare(b, c) must     *   <li>if compare(a, b) == 0 then compare(a, c) and compare(b, c) must
87     *       have the same sign</li     *       have the same sign</li>
88     * </ul>     * </ul>
89     * To be consistent with equals, the following additional constraint is     * To be consistent with equals, the following additional constraint is
90     * in place:     * in place:

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26