public static class SpotXAdDescription.SpotXData
extends ReadOnlyHashMap
Modifier and Type | Class and Description |
---|---|
static class |
SpotXAdDescription.SpotXData.Builder
The builder for SpotXData.
|
Modifier and Type | Method and Description |
---|---|
double |
getDouble(String key)
The double value, specified by the key.
|
SpotXAdDescription.Geo |
getGeo(String key)
The geographic location, specified by the key.
|
String |
getString(String key)
The String value, specified by the key.
|
List<String> |
getStringList(String key)
The list of values, specified by the key.
|
public String getString(String key) throws NullPointerException, ClassCastException
key
- The key of the String attribute.NullPointerException
- Will be thrown when the provided key is null.ClassCastException
- Will be thrown when the provided key is invalid.public double getDouble(String key) throws NullPointerException, ClassCastException
key
- The key of the Double attribute.NullPointerException
- Will be thrown when the provided key is null.ClassCastException
- Will be thrown when the provided key is invalid.public List<String> getStringList(String key) throws NullPointerException, ClassCastException
key
- The key of the attribute.NullPointerException
- Will be thrown when the provided key is null.ClassCastException
- Will be thrown when the provided key is invalid.public SpotXAdDescription.Geo getGeo(String key) throws NullPointerException, ClassCastException
key
- The key of the Geo attribute.NullPointerException
- Will be thrown when the provided key is null.ClassCastException
- Will be thrown when the provided key is invalid.