compareContext method
Implementation
int compareContext(C c2) {
var c1 = context;
if (c1 != null) {
return -1;
} else if (c1 == null) {
return 1;
} else {
return c1.compareTo(c2);
}
}
int compareContext(C c2) {
var c1 = context;
if (c1 != null) {
return -1;
} else if (c1 == null) {
return 1;
} else {
return c1.compareTo(c2);
}
}