Object representing a list of objects.
operator +(item, )
: Creates a new list that is the combination of the two operands.operator ==(rhs, )
: Compares two lists for equality.operator !=(rhs, )
: Compares two lists for lack of equality.operator <(rhs, )
: Returns true if every item in the left list is less than every item in the right.operator >(rhs, )
: Returns true if every item in the left list is greater than every item in the right.operator <=(rhs, )
: Returns true if every item in the left list is less than or eaual to every item in the right.operator >=(rhs, )
: Returns true if every item in the left list is greater than or equal to every item in the right.operator <<(item, )
: Adds item to the end of the list.operator map(method, )
: Calls method on each of the elements in the list and returns a new list.operator reduce(method, )
: Calls method on each of the elements and returns a single result.operator [](index, )
: Returns the item at the specified index.__op_array__(index, )
: Returns the item at the specified index.__op_equals__(rhs, )
: Compares two lists for equality.__op_geq__(rhs, )
: Returns true if every item in the left list is greater than or equal to every item in the right.__op_gt__(rhs, )
: Returns true if every item in the left list is greater than every item in the right.__op_leq__(rhs, )
: Returns true if every item in the left list is less than or eaual to every item in the right.__op_lshift__(item, )
: Adds item to the end of the list.__op_lt__(rhs, )
: Returns true if every item in the left list is less than every item in the right.__op_map__(method, )
: Calls method on each of the elements in the list and returns a new list.__op_nequals__(rhs, )
: Compares two lists for lack of equality.__op_plus__(item, )
: Creates a new list that is the combination of the two operands.__op_reduce__(method, )
: Calls method on each of the elements and returns a single result.append(item, )
: Adds an item to the end of the list.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.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.removeAt(index, )
: Removes the item at the specified index.reset()
: Resets list's iterator to the first element.sort(comparator, )
: Sort a list of objects.str()
: Returns string representaiton of the list.sublist(index, )
: Returns the list containing every item from the specified index onwards.sublist(from, count, )
: Returns the list containing every item from the specified range of indices.tail()
: Returns a list containing all but the first item.