OOMatch: Pattern Matching as Dispatch in Java
We present a new language feature, specified as an extension to Java. The feature is a form of dispatch, which includes and subsumes multimethods, but which is not as powerful as general predicate dispatch. It is, however, intended to be more practical and easier to use than the latter. The extensio...
Main Author: | |
---|---|
Language: | en |
Published: |
2007
|
Subjects: | |
Online Access: | http://hdl.handle.net/10012/3217 |