@@ -0,0 +1,1440 @@
+package com.glezo.wifi_locator;%0A%0Aimport java.util.Date;%0A%0Aimport com.glezo.gps.GPS;%0Aimport com.glezo.mac.Mac;%0A%0Apublic class Wifi_Observation %0A%7B%0A%09private Mac%09%09observer_mac;%0A%09private GPS%09%09observer_location;%0A%09private Mac%09%09observed_mac;%0A%09private double%09observed_strength; //in decibels%0A%09private Date%09observation_timestamp;%0A%09%0A%09public Wifi_Observation(Mac observer,GPS location,Mac observed,double strength,Date date)%0A%09%7B%0A%09%09this.observed_mac%09%09%09=observer;%0A%09%09this.observer_location%09%09=location;%0A%09%09this.observed_mac%09%09%09=observed;%0A%09%09this.observed_strength%09%09=strength;%0A%09%09this.observation_timestamp%09=date;%0A%09%7D%0A%09public Mac%09%09getObserverMac()%09%09%09%7B%09return this.observer_mac;%09%09%09%7D%0A%09public GPS%09%09getObserverLocation()%09%09%7B%09return this.observer_location;%09%09%7D%0A%09public Mac%09%09getObservedMac()%09%09%09%7B%09return this.observed_mac;%09%09%09%7D%0A%09public double%09getObservedStregnth()%09%09%7B%09return this.observed_strength;%09%09%7D%0A%09public Date%09%09getObservationTimestamp()%09%7B%09return this.observation_timestamp;%09%7D%0A%09public boolean%09equals(Object o)%0A%09%7B%0A%09%09if(o==null)%0A%09%09%7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09else%0A%09%09%7B%0A%09%09%09if(this.getClass()!=o.getClass())%0A%09%09%09%7B%0A%09%09%09%09return false;%0A%09%09%09%7D%0A%09%09%09Wifi_Observation oo=(Wifi_Observation)o;%0A%09%09%09return %09this.observer_mac.equals(oo.observer_mac)%0A%09%09%09%09%09&& this.observer_location.equals(oo.observer_location)%0A%09%09%09%09%09&& this.observed_mac.equals(oo.observed_mac)%0A%09%09%09%09%09&& this.observed_strength==oo.observed_strength%0A%09%09%09%09%09&& this.observation_timestamp.equals(oo.observation_timestamp);%0A%09%09%7D%0A%09%7D%09%0A%09%0A%09%0A%7D%0A

Create Wifi_Observation.java