batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Sandtner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-33) BufferedItemReader#readAllItems() should return Iterable<R>
Date Sat, 26 Apr 2014 08:15:15 GMT

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

Reinhard Sandtner commented on BATCHEE-33:
------------------------------------------

+1 for Iterator - is the better solution

also +1 for createIterator() or getIterator()


> 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
>            Priority: Minor
>
> 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