Class PlaceNameServiceSet
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwind.layers.placename.PlaceNameServiceSet
-
- All Implemented Interfaces:
AVList,MessageListener,WWObject,java.beans.PropertyChangeListener,java.util.EventListener
public class PlaceNameServiceSet extends WWObjectImpl implements AVList
-
-
Constructor Summary
Constructors Constructor Description PlaceNameServiceSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddService(PlaceNameService placeNameService, boolean replace)Add a service to the service set.PlaceNameServiceSetdeepCopy()longgetExpiryTime()PlaceNameServicegetService(int index)PlaceNameServicegetService(java.lang.String name)intgetServiceCount()java.util.List<PlaceNameService>getServices()voidsetExpiryTime(long expiryTime)-
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
onMessage, propertyChange
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
-
-
-
Method Detail
-
addService
public boolean addService(PlaceNameService placeNameService, boolean replace)
Add a service to the service set.- Parameters:
placeNameService- Service to add. May not be null.replace-trueif the service may replace an equivalent service already in the set.falseif the service may not replace a service already in the set.- Returns:
trueif the service was added to the service set, or if the service replaced an existing item in the service set. Returnsfalseif the set was not changed.- Throws:
java.lang.IllegalArgumentException- ifplaceNameServiceis null
-
deepCopy
public PlaceNameServiceSet deepCopy()
-
getServiceCount
public final int getServiceCount()
-
getService
public final PlaceNameService getService(int index)
-
getExpiryTime
public final long getExpiryTime()
-
setExpiryTime
public final void setExpiryTime(long expiryTime)
-
getServices
public java.util.List<PlaceNameService> getServices()
-
getService
public PlaceNameService getService(java.lang.String name)
-
-