public class WOWZDataList extends WOWZData implements java.lang.Iterable, java.io.Serializable
Constructor and Description |
---|
WOWZDataList()
Creates and initializes an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(boolean value)
Adds a Boolean value to the end of the list.
|
void |
add(java.util.Date value)
Adds a
Date to the end of the list. |
void |
add(double value)
Adds a double value to the end of the list.
|
void |
add(float value)
Adds a float value to the end of the list.
|
void |
add(int value)
Adds an integer value to the end of the list.
|
void |
add(int index,
boolean value)
Adds a Boolean value to the list at the specified index.
|
void |
add(int index,
java.util.Date value)
Adds a
Date to the list at the specified index. |
void |
add(int index,
double value)
Adds a double value to the list at the specified index.
|
void |
add(int index,
float value)
Adds a float value to the list at the specified index.
|
void |
add(int index,
int value)
Adds an integer value to the list at the specified index.
|
void |
add(int index,
long value)
Adds a long value to the list at the specified index.
|
void |
add(int index,
short value)
Adds a short value to the list at the specified index.
|
void |
add(int index,
java.lang.String value)
Adds a string value to the list at the specified index.
|
void |
add(int index,
WOWZData dataItem)
Adds a WOWZData element to the list at the specified index.
|
void |
add(long value)
Adds a long value to the end of the list.
|
void |
add(short value)
Adds a short value to the end of the list.
|
void |
add(java.lang.String value)
Adds a string value to the end of the list.
|
boolean |
add(WOWZData dataItem)
Adds a WOWZData element to the end of the list.
|
void |
clear()
Removes all elements from the list.
|
boolean |
contains(WOWZData dataItem)
Checks whether the collection contains the specified instance.
|
WOWZData |
get(int index)
Gets the list element at the specified index.
|
int |
indexOf(WOWZData dataItem)
Gets the index of the specified element.
|
boolean |
isEmpty() |
java.util.Iterator |
iterator()
Gets an iterator over this list.
|
int |
lastIndexOf(WOWZData dataItem)
Gets the last index of the specified instance.
|
WOWZData |
remove(int index)
Removes the element at the specified index from the list.
|
boolean |
remove(WOWZData dataItem)
Removes the specified element from the list.
|
int |
size() |
java.lang.String |
toString()
Gets a readable version of the instance.
|
java.lang.String |
toString(boolean prettyPrint,
int indentLevel)
Gets a readable version of the instance in the format [value, value, ...].
|
getDataType, isPrimitive
public int size()
public void add(int index, WOWZData dataItem)
index
- The index at which to add the element.dataItem
- The object instance to add.public void add(int index, int value)
index
- The element index.value
- The element value.public void add(int index, short value)
index
- The element index.value
- The element value.public void add(int index, long value)
index
- The element index.value
- The element value.public void add(int index, float value)
index
- The element index.value
- The element value.public void add(int index, double value)
index
- The element index.value
- The element value.public void add(int index, java.lang.String value)
index
- The element index.value
- The element value.public void add(int index, boolean value)
index
- The element index.value
- The element value.public void add(int index, java.util.Date value)
Date
to the list at the specified index.index
- The element index.value
- The element value.public boolean add(WOWZData dataItem)
dataItem
- The object instance to add.public void add(int value)
value
- The element value.public void add(short value)
value
- The element value.public void add(long value)
value
- The element value.public void add(float value)
value
- The element value.public void add(double value)
value
- The element value.public void add(java.lang.String value)
value
- The element value.public void add(boolean value)
value
- The element value.public void add(java.util.Date value)
Date
to the end of the list.value
- The element value.public WOWZData get(int index)
index
- The element index.public boolean contains(WOWZData dataItem)
dataItem
- The object instance to query.public int indexOf(WOWZData dataItem)
dataItem
- The element to search for.public int lastIndexOf(WOWZData dataItem)
dataItem
- The instance to search for.public boolean isEmpty()
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
public WOWZData remove(int index)
index
- The index for the element to be removed.public boolean remove(WOWZData dataItem)
dataItem
- The index for the element to be removed.public void clear()
public java.lang.String toString()
toString
in class java.lang.Object
© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal