top
![[Texas PLT logo]](images/logo.gif) |
COMP 202: Principles of Object-Oriented Programming II
←
Welcome & Administration
→
|
Today's Menu:
- Administrivia
- Data Structures Review:
- the immutable list component framework.
- the mutable list framework.
Administrivia
Review of Fundamental Data Structures
- The Immutable List Framework: Store data in a linear
fashion in order to process them sequentially; the structure is immutable,
meaning it cannot be modified once created.
![](ds/listFW_uml.png)
- Source code
- Documentation
- Key Design Patterns:
- The Composite Pattern: for implementing the
structure
- The Visitor Pattern: for decoupling the
algorithms on the structure from the structure itself
- The Abstract Factory pattern: for decoupling
the manufacturing of the structure from the structure itself,
achieving information hiding.
- The Mutable List Framework: Store data in a linear
fashion in order to process them sequentially; mutation of the structure is
allowed.
![](ds/lrs_uml.png)
- Source code
- Documentation
- Key Design Patterns:
- The Composite Pattern: for implementing the
structure
- The Visitor Pattern: for decoupling the
algorithms on the structure from the structure itself
- The State Pattern: for implementing dynamic
re-classification, allowing transparent state dependent behavioral
changes.
←
Welcome & Administration
→
URL: http://www.cs.rice.edu/~javaplt/mgricken/teaching/202/08-fall/lectures/welcome/index.shtml
Copyright © 2008-2010 Mathias Ricken and Stephen Wong