Skip to Main Content
Prefactoring
book

Prefactoring

by Ken Pugh
September 2005
Intermediate to advanced content levelIntermediate to advanced
240 pages
6h 28m
English
O'Reilly Media, Inc.
Content preview from Prefactoring

B.4. com.samscdrental.display.adt Package

These are the two display widgets that correspond to the abstract data type (ADT) classes.

B.4.1. CustomerIDTextField.java

public class CustomerIDTextField
    extends JTextField
    {
    public CustomerIDTextField(  )
    public CustomerID getCustomerID(  ) throws CustomerIDFormatDeviation
    }

B.4.2. PhysicalIDTextField.java

public class PhysicalIDTextField
    extends JTextField
    {
    public PhysicalIDTextField(  )
    public PhysicalID getPhysicalID(  ) throws PhysicalIDFormatDeviation
    }
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

Understanding Unittest.Mock

Understanding Unittest.Mock

Mario Corchero
Java™ Performance

Java™ Performance

Charlie Hunt, Binu John

Publisher Resources

ISBN: 0596008740Supplemental ContentCatalog PageErrata