MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / compareTo

Method compareTo

unused/java/nio/charset/Charset.java:879–881  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

nameMethod · 0.95

Tested by

no test coverage detected