public class UserLocations
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UserLocations(java.lang.String source)
Instantiates a new user locations.
|
Modifier and Type | Method and Description |
---|---|
void |
add(UserLocation userLocation)
Adds the.
|
void |
clear()
Clear.
|
java.lang.String |
getSource() |
java.util.ArrayList<UserLocation> |
getUserLocations() |
void |
remove(UserLocation userLocation)
Removes the.
|
void |
setSource(java.lang.String source) |
public UserLocations(java.lang.String source)
source
- the sourcepublic void add(UserLocation userLocation)
userLocation
- the user locationpublic void clear()
public java.lang.String getSource()
public java.util.ArrayList<UserLocation> getUserLocations()
public void remove(UserLocation userLocation)
userLocation
- the user locationpublic void setSource(java.lang.String source)
source
- the source to set