public class WZDataMap extends WZData implements Serializable
WZData elements| Constructor and Description |
|---|
WZDataMap()
Construct a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all elements from the collection
|
boolean |
containsKey(String key)
Indicates if the collection contains an element stored using the specified key
|
boolean |
containsValue(Object value)
Indicates if the collection contains the specified instance
|
WZData |
get(String key)
Returns the element stored at the specified key
|
boolean |
isEmpty() |
String[] |
keys() |
Set |
keySet() |
void |
put(String key,
boolean value)
Add a boolean value to the collection
|
void |
put(String key,
Date value)
Add a
Date to the collection |
void |
put(String key,
double value)
Add a double value to the collection
|
void |
put(String key,
float value)
Add a float value to the collection
|
void |
put(String key,
int value)
Add an integer value to the collection
|
void |
put(String key,
long value)
Add a long value to the collection
|
void |
put(String key,
short value)
Add a short value to the collection
|
void |
put(String key,
String value)
Add a string value to the collection
|
void |
put(String key,
WZData dataItem)
Add a
WZData to the collection |
WZData |
remove(String key)
Remove the element stored at the specified key
|
int |
size() |
String |
toString() |
String |
toString(boolean prettyPrint) |
String |
toString(boolean prettyPrint,
int indentLevel) |
getDataType, isPrimitivepublic int size()
public void put(String key, WZData dataItem)
WZData to the collectionkey - The element keydataItem - The data item elementpublic void put(String key, int value)
key - The element keyvalue - The element valuepublic void put(String key, short value)
key - The element keyvalue - The element valuepublic void put(String key, long value)
key - The element keyvalue - The element valuepublic void put(String key, float value)
key - The element keyvalue - The element valuepublic void put(String key, double value)
key - The element keyvalue - The element valuepublic void put(String key, String value)
key - The element keyvalue - The element valuepublic void put(String key, boolean value)
key - The element keyvalue - The element valuepublic void put(String key, Date value)
Date to the collectionkey - The element keyvalue - The element valuepublic boolean containsKey(String key)
key - the key value to querypublic boolean containsValue(Object value)
value - the object instance to querypublic WZData get(String key)
key - the key value used to retrieve the elementpublic boolean isEmpty()
public String[] keys()
public Set keySet()
Set of the keys by which the elements of the collection are storedpublic WZData remove(String key)
key - the key for the element to be removedpublic void clear()
public String toString(boolean prettyPrint)
© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal