Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C++ Class Library Definition - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

          Sequence Grouping


     The classes Stack, Queue, and  Deque  are  collectively  known as
     sequences.  A sequence defines a group  of  objects  that  follow
     these rules:

        1.  Objects can be inserted and removed.

        2.  The order of insertions and deletions is significant.

        3.  Insertions and deletions occur at the appropriate point or
            points, as defined by the individual class.

     Sequences provide a mechanism for determining  whether  there are
     any  members  of  the  group.  This  is  done with  the  function
     isEmpty().

     The sequence grouping is not a class itself  because  the classes
     which make  up  the  grouping  do  not  share enough in common to
     warrant a separate base class. However, you may  find  it helpful
     to  consider  the  classes  together  when  reviewing  the object
     hierarchy.

See Also: Stack Queue Deque

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson