|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcitysdk.tourism.client.poi.base.POIBaseType
citysdk.tourism.client.poi.base.POIType
citysdk.tourism.client.poi.single.POI
citysdk.tourism.client.poi.lists.POIS<T>
T - an object extending a poi base class, either a PointOfInterest,
Event, Route or Tag.public class POIS<T>
The representation of a list of POI.
| Constructor Summary | |
|---|---|
POIS()
Creates an empty list. |
|
| Method Summary | |
|---|---|
void |
add(T t)
Adds an object to the list |
T |
get(int i)
Gets the object stored in the given index |
java.util.List<T> |
getList()
Gets all the objects stored |
int |
size()
Gets the number of objects stored |
| Methods inherited from class citysdk.tourism.client.poi.single.POI |
|---|
getLocation, hasAddress, setLocation |
| Methods inherited from class citysdk.tourism.client.poi.base.POIType |
|---|
addCategory, addDescription, addLabel, addLink, addTime, getCategory, getDescription, getLabel, getLink, getTime, hasCategories, hasDescriptions, hasLabels, hasLinks, hasTimes |
| Methods inherited from class citysdk.tourism.client.poi.base.POIBaseType |
|---|
getAuthor, getBase, getCreated, getDeleted, getHref, getId, getLang, getLicense, getType, getUpdated, getValue, setAuthor, setBase, setCreated, setDeleted, setHref, setId, setLang, setLicense, setType, setUpdated, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public POIS()
| Method Detail |
|---|
public void add(T t)
t - the object to be addedpublic java.util.List<T> getList()
public int size()
public T get(int i)
i - the index of a given object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||