I've been talking for a long time about using value classes for representing cursor-like data, where part of the value is constant (like a base address) and part is variable (like an index). I decided to write up a case study about value-based cursors as a replacement to iterators, as well as with some reflections on how this fits into the larger schemes of Valhalla.
Enjoy! http://cr.openjdk.java.net/~jrose/values/iterator-vs-cursor.html <http://cr.openjdk.java.net/~jrose/values/iterator-vs-cursor.html> — John
