O'Reilly logo

Building Parsers with Java™ by Steven John Metsker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.3. Interfaces

Figure A.3 shows the basic features for illustrating interfaces.

Figure A.3. Interfaces. Unless there is other structural information that you want to illustrate, you can use a simple line and circle to show that a class implements an interface.

In Figure A.3, note the following.

  • A diagram can show that a class implements an interface by showing a line and circle (a “lollipop”) and the name of the interface. The Assembly class, for example, implements the Enumeration and PubliclyCloneable interfaces.

  • A diagram can also show an interface by placing the text <<interface>> and the name of the interface in a rectangle, as Figure A.3 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required