Make Iteration classes extends java.util.Iterator / java.lang.Iterable

Description

The original motivation for the "Iterator-like" Iteration interfaces in Sesame was that we needed something that could throw checked exceptions while iterating.

Since Sesame has now switched to using runtime exceptions for almost all cases, it would be possible to switch to using proper iterators, or alternatively let interfaces like QueryResult extend java.lang.Iterable.

Environment

None

Assignee

Jeen Broekstra

Reporter

Jeen Broekstra

Labels

None

Priority

Major
Configure