Modern programming languages have little or no support for querying objects and collections. Programmers are forced to hand code such queries using nested loops, which is both cumbersome and inefficient. We demonstrate that first-class queries over objects and collections improve program readability, provide good performance and are applicable to a large number of common programming problems. We have developed a prototype extension to Java which tracks all objects in a program using AspectJ and allows first-class queries over them in the program. Our experimental findings indicate that such queries can be significantly faster than common programming idioms and within reach of hand optimised queries. © Springer-Verlag Berlin Heidelberg 2006.
CITATION STYLE
Willis, D., Pearce, D. J., & Noble, J. (2006). Efficient object querying for java. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4067 LNCS, pp. 28–49). Springer Verlag. https://doi.org/10.1007/11785477_3
Mendeley helps you to discover research relevant for your work.