164 tempResult = this.type.compareTo(other.type);
if (tempResult != 0) {
167 tempResult = this.
id.compareTo(other.id);
168 if (tempResult != 0) {
171 if (this.rssi < other.rssi) {
173 }
else if (this.rssi > other.rssi) {
178 if (tempResult != 0) {
181 if (this.distance < other.distance) {
183 }
else if (this.distance > other.distance) {
188 if (tempResult != 0) {
191 if (this.time < other.time) {
193 }
else if (this.time > other.time) {
198 if (tempResult != 0) {