You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commonsrdf.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2015/05/07 01:03:59 UTC
[jira] [Created] (COMMONSRDF-22) Rename getTriples/iterate to
getTriplesAsStream/getTriplesAsIterable ?
Stian Soiland-Reyes created COMMONSRDF-22:
---------------------------------------------
Summary: 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
Reporter: Alexandre Bertails
Priority: Minor
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)