[
https://issues.apache.org/jira/browse/COMMONSRDF-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stian Soiland-Reyes closed COMMONSRDF-22.
-----------------------------------------
Resolution: Won't Fix
Assignee: Stian Soiland-Reyes
> Rename getTriples/iterate to getTriplesAsStream/getTriplesAsIterable ?
> ----------------------------------------------------------------------
>
> Key: COMMONSRDF-22
> URL: https://issues.apache.org/jira/browse/COMMONSRDF-22
> Project: Apache Commons RDF
> Issue Type: Wish
> Affects Versions: 0.1.0
> Reporter: Alexandre Bertails
> Assignee: Stian Soiland-Reyes
> Priority: Minor
> Labels: iterable, stream
>
> Alexandre Bertails suggested on
> [2015-05-06|http://mail-archives.apache.org/mod_mbox/commonsrdf-dev/201505.mbox/%3CCANvn8kzfnDoA%3DsgZLmHyN%3DbE2Gmba%3D1oNO0Haq72mi_GFkLRng%40mail.gmail.com%3E]:
> > # getTriples vs iterate
> >
> > Not a big deal but I believe the naming could be improved. When I read
> > getTriples, I expect to have all the triples in my hand, but this is
> > not quite what Streams are about. On the other hand, when I read
> > iterate, I kinda expect the opposite. Of course the types clarify
> > everything but I believe it'd be easier to use getTriplesAsStream and
> > getTriplesAsIterable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)