Quantcast
Channel: A Java geek » Java
Viewing all articles
Browse latest Browse all 64

The Visitor design pattern

$
0
0
I guess many people know about the Visitor design pattern, described in the Gang of Four’s Design Patterns: Elements of Reusable Object-Oriented Software book. The pattern itself is not very complex (as many design patterns go): I’ve known Visitor since ages, but I’ve never needed it… yet. Java handles polymorphism natively: the method call is [...]

Viewing all articles
Browse latest Browse all 64

Trending Articles