cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-1953) Redo ResultIteratorCallback to handle single row callback instead of iterator
Date Wed, 10 Sep 2014 07:07:28 GMT
Andrus Adamchik created CAY-1953:
------------------------------------

             Summary: Redo ResultIteratorCallback to handle single row callback instead of
iterator
                 Key: CAY-1953
                 URL: https://issues.apache.org/jira/browse/CAY-1953
             Project: Cayenne
          Issue Type: Improvement
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


ResultIteratorCallback created per CAY-1829 is not super convenient, as the implementor must
handle iteration on its own. So replace 

  void iterate(ResultIterator<T> iterator);

with 

  void next(T object);

which will simplify the callback code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message