169 tempResult = this.type.compareTo(other.type);
if (tempResult != 0) {
172 tempResult = this.
id.compareTo(other.id);
173 if (tempResult != 0) {
176 if (this.rssi < other.rssi) {
178 }
else if (this.rssi > other.rssi) {
183 if (tempResult != 0) {
186 if (this.distance < other.distance) {
188 }
else if (this.distance > other.distance) {
193 if (tempResult != 0) {
196 if (this.time < other.time) {
198 }
else if (this.time > other.time) {
203 if (tempResult != 0) {