Compares this charset to another. Charsets are ordered by their canonical names, without regard to case. @param that The charset to which this charset is to be compared @return A negative integer, zero, or a positive integer as this charset is less than, equal to, or gre
(Charset that)
| 877 | * is less than, equal to, or greater than the specified charset |
| 878 | */ |
| 879 | public final int compareTo(Charset that) { |
| 880 | return (name().compareToIgnoreCase(that.name())); |
| 881 | } |
| 882 | |
| 883 | /** |
| 884 | * Computes a hashcode for this charset. |