/[classpath]/classpath/java/lang/Boolean.java
ViewVC logotype

Diff of /classpath/java/lang/Boolean.java

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

revision 1.20.2.7 by gnu_andrew, Tue Sep 20 18:46:27 2005 UTC revision 1.20.2.8 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 223  public final class Boolean implements Se Line 223  public final class Boolean implements Se
223    }    }
224    
225    /**    /**
226     * This implements the comparison contract specified by Comparable.     * Compares this Boolean to another.
227     * @see Comparable     *
228       * @param b the Boolean to compare this Boolean to
229       * @return 0 if both Booleans represent the same value, a positive number
230       * if this Boolean represents true and the other false, and a negative
231       * number otherwise.
232     * @since 1.5     * @since 1.5
233     */     */
234    public int compareTo(Boolean other)    public int compareTo(Boolean other)
# Line 243  public final class Boolean implements Se Line 247  public final class Boolean implements Se
247    {    {
248      return "true".equalsIgnoreCase(b) ? true : false;      return "true".equalsIgnoreCase(b) ? true : false;
249    }    }
250      
251  }  }

Legend:
Removed from v.1.20.2.7  
changed lines
  Added in v.1.20.2.8

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