Skip to main content

Visitor Patterns

  • Chapter
Java Design Patterns
  • 5720 Accesses

Abstract

GoF Definition: Represent an operation to be performed on the elements of an object structure. The visitor pattern lets you define a new operation without changing the classes of the elements on which it operates.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

CH 23 (zip 5 kb)

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Vaskaran Sarcar

About this chapter

Cite this chapter

Sarcar, V. (2016). Visitor Patterns. In: Java Design Patterns. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1802-0_23

Download citation

Publish with us

Policies and ethics