batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-33) BufferedItemReader#readAllItems() should return Iterable<R>
Date Mon, 28 Apr 2014 12:14:18 GMT

    [ https://issues.apache.org/jira/browse/BATCHEE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982954#comment-13982954
] 

Romain Manni-Bucau commented on BATCHEE-33:
-------------------------------------------

PS: if we don't agree we can just propose both too. Iterable one will delegate to Iterator
one.

> BufferedItemReader#readAllItems() should return Iterable<R>
> -----------------------------------------------------------
>
>                 Key: BATCHEE-33
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-33
>             Project: BatchEE
>          Issue Type: Improvement
>          Components: batchee-extensions
>    Affects Versions: 0.1-incubating
>            Reporter: Reinhard Sandtner
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 0.2-incubating
>
>         Attachments: batchee33.patch
>
>
> make 
> {code}
> public abstract Iterator<R> readAllItems();
> {code}
> return Iterable<R> would be easier to use it.
> The method should also be protected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message