CartExtension.CartItemList
List of CartExtension.CartItem objects.
Returns the list element stored at the specified index. return CartExtension.CartItem
Returns an instance of an iterator for this list.
Type | Description |
---|---|
Iterator<CartItem> |
Returns the index of the first occurrence of the specified element in this list. If this list does not contain the element, returns -1.
Type | Description |
---|---|
Integer |
Inherited
Returns the number of elements in the list.
Type | Description |
---|---|
Integer |
Inherited
Returns true if the list has zero elements.
Type | Description |
---|---|
Boolean |
Inherited
Adds an element to the list.
Type | Description |
---|---|
void |
Inherited
Removes an element from the list.
Type | Description |
---|---|
void |
Inherited
Removes all elements from a list, consequently setting the list's length to zero.
Type | Description |
---|---|
void |