| Iterator specification with typestates |
| Full text |
Pdf
(196 KB)
|
| Source
|
International Conference on Software Engineering
archive
Proceedings of the 2006 conference on Specification and verification of component-based systems
table of contents
Portland, Oregon
SESSION: Challenge problem solutions
table of contents
Pages: 79 - 82
Year of Publication: 2006
ISBN:1-59593-586-X
|
|
Author
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 2, Downloads (12 Months): 25, Citation Count: 2
|
|
|
ABSTRACT
Java iterators are notoriously hard to specify. This paper applies a general typestate specification technique that supports several forms of aliasing to the iterator problem. The presented specification conservatively captures iterator protocols and consistency rules. Two limitations of the specification are discussed.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
M. Barnett, R. DeLine, M. Fähndrich, K. R. M. Leino, and W. Schulte. Verification of object-oriented programs with invariants. Journal of Object Technology, 3(6):27--56, June 2004.
|
 |
2
|
|
| |
3
|
J. Boyland. Checking interference with fractional permissions. In R. Cousot, editor, Static Analysis: 10th International Symposium, volume 2694 of Lecture Notes in Computer Science, pages 55--72. Springer, 2003.
|
| |
4
|
R. DeLine and M. Fähndrich. Typestates for objects. In European Conference on Object-Oriented Programming. Springer, 2004.
|
| |
5
|
|
| |
6
|
G. T. Leavens, A. L. Baker, and C. Ruby. Preliminary design of JML: A behavioral interface specification language for Java. Technical Report 98-06-rev28, Iowa State University, Department of Computer Science, July 2005.
|
| |
7
|
|
|