new AbstractList()
Methods
-
clear()
-
Clears this list.
-
contains(item){boolean}
-
Verifies whether the given item is included in this list.
Name Type Description item
* Item that should be checked.
Returns:
Type Description boolean -
abstractequals(list)
-
Compare the specified WidgetHandleList with this instance.
Name Type Description list
* List that should be compared.
-
getItem(key){*}
-
Returns the item for the specified key.
Name Type Description key
string key that should be searched for
Returns:
Type Description * -
abstractgetItems(){Array}
-
Returns all items.
Returns:
Type Description Array -
getKeys(){Array}
-
Returns the keys of all items.
Returns:
Type Description Array -
isEmpty(){boolean}
-
Verifies whether the list is empty.
Returns:
Type Description boolean -
put(item)
-
Adds the specified item to the itemList.
Name Type Description item
* item that should be added
-
putAll(listOrArray)
-
Adds all items in the specified list to the itemList.
Name Type Description listOrArray
* list of items that should be added
-
removeItem(key)
-
Removes the item from this list for the specified key.
Name Type Description key
string key that should be searched for
-
size(){Number}
-
Returns the number of items that are included.
Returns:
Type Description Number -
withItems(list){*}
-
Builder for Item list.
Name Type Description list
* Returns:
Type Description *