void Swap(List& lst);
lst
.
int Search(const T& value) const;
int Search(const T& value, bool sorted) const;
value
.
value
was found.
0
, if value
was not found.
sorted
is false
, then Search(value, false)
is the same as Search(value)
.
sorted
is true
, then Search(value, true)
assumes that this list is sorted in ascending order.
<
.
void Sort();
<
.
void Validate() const;
This page was last modified on Feb 19, 2001
URL: http://people.hsc.edu/faculty-staff/robbk/Coms262/Lectures/OtherListFunctions.html