Pattern matching on objects in Java
Published in Journal of computing sciences in colleges • Oct 1, 2009
Authors:
Nadeem Abdul Hamid
Abstract
This paper presents a refinement of the Visitor design pattern, providing convenient pattern matching and deconstruction over objects in a Java class hierarchy. It develops the idea of extracting and passing the values of an object's subcomponents to the visitor operation so that it is not necessary...
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!