Skip to Main Content
UML FOR JAVA™ PROGRAMMERS
book

UML FOR JAVA™ PROGRAMMERS

by Robert Cecil Martin
May 2003
Intermediate to advanced content levelIntermediate to advanced
288 pages
5h 33m
English
Pearson
Content preview from UML FOR JAVA™ PROGRAMMERS

Chapter 10. State Diagrams

State Diagrams

UML has a very rich set of notations for describing finite state machines (FSMs). We'll look at the most useful bits of that notation in this chapter. FSMs are an enormously useful tool for writing all kinds of software. I use them for GUIs, communication protocols, and any other type of event-based system. Unfortunately, I find that too many developers are unfamiliar with the concepts of FSMs and are therefore missing many opportunities to simplify. I'll do my small part to correct that in this chapter.

The Basics

Figure 10-1 shows a simple state transition diagram (STD) that describes a finite state machine that controls ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing Applications with Java™ and UML

Developing Applications with Java™ and UML

Paul R. Reed
Understanding DB2®: Learning Visually with Examples, Second Edition

Understanding DB2®: Learning Visually with Examples, Second Edition

Raul F. Chong, Xiaomei Wang, Michael Dang, Dwaine R. Snow

Publisher Resources

ISBN: 0131428489Purchase book