Back to project page mitlocate.
The source code is released under:
MIT License
If you think the Android project mitlocate listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package edu.mit.locate.friends; //w w w . j a v a2s . c o m public class Friend { private boolean sharing; private String id, bid, name, location, building, age; public void setID(int i) { id = Integer.toString(i); } public String getID() { return id; } public void setName(String n) { name = n; } public String getName() { return name; } public void setLocation(String l) { location = l; } public String getLocation() { return location; } public void setBuildingID(int i) { bid = Integer.toString(i); } public String getBuildingID() { return bid; } public void setBuilding(String b) { building = b; } public String getBuilding() { return building; } public void setAge(String a) { age = a; } public String getAge() { return age; } public void setSharing(boolean s) { sharing = s; } public boolean getSharing() { return sharing; } }