public class WOWZDataMap extends WOWZData implements java.io.Serializable
Constructor and Description |
---|
WOWZDataMap()
Creates and initializes an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all elements from the collection.
|
boolean |
containsKey(java.lang.String key)
Checks whether the collection contains an element stored using the specified key.
|
boolean |
containsValue(java.lang.Object value)
Checks whether the collection contains the specified instance.
|
WOWZData |
get(java.lang.String key)
Gets the element stored at the specified key.
|
boolean |
isEmpty() |
java.lang.String[] |
keys() |
java.util.Set |
keySet() |
void |
put(java.lang.String key,
boolean value)
Adds a Boolean value to the collection.
|
void |
put(java.lang.String key,
java.util.Date value)
Adds a
Date to the collection. |
void |
put(java.lang.String key,
double value)
Adds a double value to the collection.
|
void |
put(java.lang.String key,
float value)
Adds a float value to the collection.
|
void |
put(java.lang.String key,
int value)
Adds an integer value to the collection.
|
void |
put(java.lang.String key,
long value)
Adds a long value to the collection.
|
void |
put(java.lang.String key,
short value)
Adds a short value to the collection.
|
void |
put(java.lang.String key,
java.lang.String value)
Adds a string value to the collection.
|
void |
put(java.lang.String key,
WOWZData dataItem)
Adds a
WOWZData to the collection. |
WOWZData |
remove(java.lang.String key)
Removes the element stored at the specified key.
|
int |
size() |
java.lang.String |
toString() |
java.lang.String |
toString(boolean prettyPrint) |
java.lang.String |
toString(boolean prettyPrint,
int indentLevel) |
getDataType, isPrimitive
public int size()
public void put(java.lang.String key, WOWZData dataItem)
WOWZData
to the collection.key
- The element key.dataItem
- The data item element.public void put(java.lang.String key, int value)
key
- The element key.value
- The element value.public void put(java.lang.String key, short value)
key
- The element key.value
- The element value.public void put(java.lang.String key, long value)
key
- The element key.value
- The element value.public void put(java.lang.String key, float value)
key
- The element key.value
- The element value.public void put(java.lang.String key, double value)
key
- The element key.value
- The element value.public void put(java.lang.String key, java.lang.String value)
key
- The element key.value
- The element value.public void put(java.lang.String key, boolean value)
key
- The element key.value
- The element value.public void put(java.lang.String key, java.util.Date value)
Date
to the collection.key
- The element key.value
- The element value.public boolean containsKey(java.lang.String key)
key
- The key value to query.public boolean containsValue(java.lang.Object value)
value
- The object instance to query.public WOWZData get(java.lang.String key)
key
- The key value used to retrieve the element.public boolean isEmpty()
public java.lang.String[] keys()
public java.util.Set keySet()
Set
of the keys by which the elements of the collection are stored.public WOWZData remove(java.lang.String key)
key
- The key for the element to be removed.public void clear()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean prettyPrint)
© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal