compareTo method

int compareTo(
  1. WifiAP other
)

Implementation

int compareTo(WifiAP other) {
  if (rssi > other.rssi) {
    return -1;
  }
  if (rssi == other.rssi) {
    return 0;
  }
  return 1;
}