/[classpath]/classpath/java/text/CollationKey.java
ViewVC logotype

Diff of /classpath/java/text/CollationKey.java

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

revision 1.12.2.2 by gnu_andrew, Tue Aug 2 20:12:26 2005 UTC revision 1.12.2.3 by tromey, Tue Sep 27 16:59:23 2005 UTC
# Line 65  import java.util.Arrays; Line 65  import java.util.Arrays;
65   * @author Tom Tromey (tromey@cygnus.com)   * @author Tom Tromey (tromey@cygnus.com)
66   * @date March 25, 1999   * @date March 25, 1999
67   */   */
68  public final class CollationKey implements Comparable  public final class CollationKey implements Comparable<CollationKey>
69  {  {
70    /**    /**
71     * This is the <code>Collator</code> this object was created from.     * This is the <code>Collator</code> this object was created from.
# Line 112  public final class CollationKey implemen Line 112  public final class CollationKey implemen
112    }    }
113    
114    /**    /**
    * This method compares the specified object to this one.  The specified  
    * object must be an instance of <code>CollationKey</code> or an exception  
    * will be thrown.  An integer is returned which indicates whether the  
    * specified object is less than, greater than, or equal to this object.  
    *  
    * @param obj The <code>Object</code> to compare against this one.  
    *  
    * @return A negative integer if this object is less than the specified object, 0 if it is equal or a positive integer if it is greater than the specified object.  
    */  
   public int compareTo (Object obj)  
   {  
     return compareTo ((CollationKey) obj);  
   }  
   
   /**  
115     * This method tests the specified <code>Object</code> for equality with     * This method tests the specified <code>Object</code> for equality with
116     * this object.  This will be true if and only if:     * this object.  This will be true if and only if:
117     * <p>     * <p>

Legend:
Removed from v.1.12.2.2  
changed lines
  Added in v.1.12.2.3

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