next up previous contents
Next: Set Primitive Operations Up: Discussion Previous: Reference Counting

Comparisons

Collection and Container objects can be compared easily using the operations defined in the Container class on Page [*]. For example the code in Figure [*] illustrates a comparison between MSet and SortedList objects.
  
Figure 3.21: Comparisons Between Collections and Containers
\begin{figure}
\begin{flushleft}
\begin{minipage}[t]
{\textwidth}
\hrulefill

\v...
 ...nd{verbatim}
\vspace*{-6mm}

\hrulefill\end{minipage}\end{flushleft}\end{figure}

Collection objects are compared with each other in the same way, as shown in Figure [*].
  
Figure 3.22: Comparisons between Collections
\begin{figure}
\begin{flushleft}
\begin{minipage}[t]
{\textwidth}
\hrulefill

\v...
 ...nd{verbatim}
\vspace*{-6mm}

\hrulefill\end{minipage}\end{flushleft}\end{figure}



RHS Linux User
1/26/1998