Object representing a list of objects.
operator +(item)
: Adds item to the end of the list.item
: Item to add.operator ==(rhs)
: Compares two lists for equality.rhs
: The list to compare to.operator !=(rhs)
: Compares two lists for lack of equality.rhs
: The list to compare to.operator <(rhs)
: Returns true if every item in the left list is less than every item in the right.rhs
: The list to compare to.operator >(rhs)
: Returns true if every item in the left list is greater than every item in the right.rhs
: The list to compare to.operator <=(rhs)
: Returns true if every item in the left list is less than or eaual to every item in the right.rhs
: The list to compare to.operator >=(rhs)
: Returns true if every item in the left list is greater than or equal to every item in the right.rhs
: The list to compare to.operator map(method)
: Calls method on each of the elements in the list and returns a new list.method
: Method to call. It should accept one argument (the current item).operator reduce(method)
: Calls method on each of the elements and returns a single result.method
: Method to call. It should accept two arguments (the current result and the current item).operator [](index)
: Returns the item at the specified index.index
: The index of the item to return.__op_array__(index)
: Returns the item at the specified index.index
: The index of the item to return.__op_equals__(rhs)
: Compares two lists for equality.rhs
: The list to compare to.__op_geq__(rhs)
: Returns true if every item in the left list is greater than or equal to every item in the right.rhs
: The list to compare to.__op_gt__(rhs)
: Returns true if every item in the left list is greater than every item in the right.rhs
: The list to compare to.__op_leq__(rhs)
: Returns true if every item in the left list is less than or eaual to every item in the right.rhs
: The list to compare to.__op_lt__(rhs)
: Returns true if every item in the left list is less than every item in the right.rhs
: The list to compare to.__op_map__(method)
: Calls method on each of the elements in the list and returns a new list.method
: Method to call. It should accept one argument (the current item).__op_nequals__(rhs)
: Compares two lists for lack of equality.rhs
: The list to compare to.__op_plus__(item)
: Adds item to the end of the list.item
: Item to add.__op_reduce__(method)
: Calls method on each of the elements and returns a single result.method
: Method to call. It should accept two arguments (the current result and the current item).append(item)
: Adds an item to the end of the list.item
: Item to add.count()
: Returns the number of items in the list.cur()
: Returns current item pointed to by the list's iterator.getIndex(index)
: Returns the item at the specified index.index
: The 0-based index of the item to return.head()
: Returns the first item in the list.next()
: Moves iterator to the next item in the list.prepend(item)
: Adds an item to the beginning of the list.item
: Item to add.removeAt(index)
: Removes the item at the specified index.index
: The 0-based index of the item to remove.reset()
: Resets list's iterator to the first element.str()
: Returns string representaiton of the list.sublist(index)
: Returns the list containing every item from the specified index onwards.index
: The 0-based index of the first item to return.sublist(from, count)
: Returns the list containing every item from the specified range of indices.from
: The 0-based index of the first item to return.count
: The number of items to return.tail()
: Returns a list containing all but the first item.