Resource usage protocols for iterators - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles The Journal of Object Technology Year : 2009

Resource usage protocols for iterators

Christian Haack
  • Function : Author
  • PersonId : 846315

Abstract

We discuss usage protocols for iterator objects that prevent concurrent modifications of the underlying collection while iterators are in progress. We formalize these protocols in Java-like object interfaces, enriched with separation logic contracts. We present examples of iterator clients and proofs that they adhere to the iterator protocol, as well as examples of iterator implementations and proofs that they implement the iterator interface.
No file

Dates and versions

inria-00410128 , version 1 (17-08-2009)

Identifiers

  • HAL Id : inria-00410128 , version 1

Cite

Christian Haack, Clément Hurlin. Resource usage protocols for iterators. The Journal of Object Technology, 2009, Special Issue Workshops IWACO and FTFJP at ECOOP 08, 8 (4), pp.55-83. ⟨inria-00410128⟩

Collections

INRIA INRIA2 ANR
25 View
0 Download

Share

Gmail Facebook X LinkedIn More