Merge branch 's4' into stack
commit2e87a8ee0ea80710a6474447fe3aa69426156f8e
authorRoger D. Peng [audrey] <rpeng@jhsph.edu>
Mon, 11 Aug 2008 12:38:57 +0000 (11 08:38 -0400)
committerRoger D. Peng [audrey] <rpeng@jhsph.edu>
Mon, 11 Aug 2008 12:38:57 +0000 (11 08:38 -0400)
tree877c6900772a8d9b3f4696ef365e7819b4e78b20
parent0d0dfbc809b80da70244c16dc6ea1d89289fbeeb
parentb4b5ce300e0e033c5db8473ecf38b7953e224244
Merge branch 's4' into stack

* s4:
  Use S4 class for 'stack' data structure
  'createQ' and 'initQ' are not methods
  Add 'show' method for 'queue' object
  Missed parentheses
  Export S4 methods for queue class
  Refactor 'pop' and 'top' so that empty queue triggers an error
  Streamline the logic of 'push' for queues
  Use S4 class for queue data structure