Index

A

Absorbing class, 117

Abstract Factory, 70–71

Accept methods, 327

Accumulation methods, 315, 325–330

Accumulation refactorings

Collecting Parameter pattern, 30, 313–319

Move Accumulation to Collecting Parameter, 313–319

Move Accumulation to Visitor, 320–338

Parameter pattern, 313–319

Visitor pattern, 31, 320–338

Active nothing, 302

Adapter classes, 249

Adapter pattern

See also Alternative Classes with Different Interfaces smell

See also Duplicated Code smell

See also Oddball Solution smell

Adapting with Anonymous Inner Classes, 258–268

description, 247–257

extracting, 258–268

patterns-based refactoring, 30

vs. Facade pattern, 259–260

Adapting with Anonymous Inner Classes, 258–268

Alexander, Christopher, 23–24, 26

Alternative Classes with ...

Get Refactoring to Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.