class base list[value element type]
extends base readonly list[element type]
implements list[element type]
public overload base list()
pass
public overload base list(element type n1, element type n2, element type n3, element type n4, element type n5)
public overload base list(element type n1, element type n2, element type n3, element type n4, element type n5, element type n6)
public overload base list(element type n1, element type n2, element type n3, element type n4, element type n5, element type n6, element type n7)
implement element type remove last()
implement element type remove at(nonnegative index)
assert is not empty
assert index < size
if index != size - 1
assert rest length is nonnegative
the elements • move(index + 1, index, rest length)
last index : size - 1
assert last index is nonnegative
return result
Sort the list in place using the given sort order.
implement void sort(order[element type] the order)