MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / compare

Method compare

vm/JavaAPI/src/java/util/Comparator.java:55–55  ·  view source on GitHub ↗

Compares the two specified objects to determine their relative ordering. The ordering implied by the return value of this method for all possible pairs of (object1, object2) should form an equivalence relation . This means that compare(a,a) returns zero for all {@code

(T object1, T object2)

Source from the content-addressed store, hash-verified

53 * if objects are not of the correct type.
54 */
55 public int compare(T object1, T object2);
56
57 /**
58 * Compares this {@code Comparator} with the specified {@code Object} and indicates whether they

Callers 15

compareMethod · 0.65
equalsMethod · 0.65
equalsMethod · 0.65
changeReferenceMethod · 0.65
translatePixelsMethod · 0.65
compareMethod · 0.65
compareMethod · 0.65
equalsMethod · 0.65
strokeMethod · 0.65
shadowSpreadMethod · 0.65
shadowXMethod · 0.65

Implementers 15

GeofenceCodenameOne/src/com/codename1/location
ObjectsCodenameOne/src/com/codename1/compat/j
DefaultPropertyCodenameOneDesigner/src/com/l2fprod/co
iscripts/cn1playground/src/html/playgro
FloatPorts/CLDC11/src/java/lang/Float.java
ShortPorts/CLDC11/src/java/lang/Short.java
StringPorts/CLDC11/src/java/lang/String.java
BytePorts/CLDC11/src/java/lang/Byte.java
DoublePorts/CLDC11/src/java/lang/Double.java
IntegerPorts/CLDC11/src/java/lang/Integer.jav
LongPorts/CLDC11/src/java/lang/Long.java
ObjectsPorts/CLDC11/src/java/util/Objects.jav

Calls

no outgoing calls

Tested by 5

compareMethod · 0.52