MCPcopy Create free account
hub / github.com/androrm/androrm / getItems

Method getItems

src/src/com/orm/androrm/QuerySet.java:183–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 private List<T> getItems() {
184 if(mItems == null) {
185 mItems = new ArrayList<T>();
186
187 if(mQuery != null) {
188 Cursor c = getCursor(mQuery);
189 mItems.addAll(createObjects(c));
190 closeConnection(c);
191 }
192 }
193
194 return mItems;
195 }
196
197 @Override
198 public Iterator<T> iterator() {

Callers 2

iteratorMethod · 0.95
toListMethod · 0.95

Calls 4

getCursorMethod · 0.95
createObjectsMethod · 0.95
closeConnectionMethod · 0.95
addAllMethod · 0.65

Tested by

no test coverage detected