From: Olaf H. <ha...@in...> - 2009-10-02 20:05:09
|
Hey Tim, On Friday 25 September 2009 16:33:45 Tim Pizey wrote: > Hi, > > for convenience would it be nice for NamedGraphSet to extend Iterable? > > It is trivial: > > public Iterator<NamedGraph> iterator() { > return listGraphs(); > } Yes, why not > though puting it in NamedGraphSetIO might be a bit ugly. I wouldn't put it in NamedGraphSetIO but in the classes that implement methods of the interface that are related to the "set nature" of NamedGraphSet. Olaf |