This preview shows page 1. Sign up to view the full content.
Unformatted text preview: an item must increment and decrement the length, respectively. As we write the algorithms, we continue to put abstract steps in blue. The steps that we outlined in the previous section we put in red to remind you that they are different in each implementation. Insert(item) Find where the item belongs Put the item there Increment length Initialize Set length to zero Class Name: Host Superclass: Subclasses: /esPrnsoSodotoes Collaborations inotovdoae otsedI inse,t LoteGu Redete LoteGu p,ont (nr)HenDtc ,etl,ns onteDe, z z z iteGfdvss iteGfdvss iteGfdvss...
View Full Document
- Fall '10