Toggle navigation
Home
java.lang.Iterable to org.neo4j.graphdb.ResourceIterable
No. of Instances - 19
No. of Commits - 3
No. of Projects - {'neo4j'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Rename Variable
getRelationshipTypes
to
getAllRelationshipTypes
getRelationshipTypes
to
getAllPropertyKeys
Cascading Type Change (Different)
PrefetchingIterator<R>
to
PrefetchingResourceIterator<R>
Update Anonymous class
{ final PrimitiveLongIterator ids=new StoreIdIterator(store,forward); final R record=store.newRecord(); @Override protected R fetchNextOrNull(){ scan: while (ids.hasNext()) { if (store.getRecord(ids.next(),record,RecordLoad.CHECK).inUse()) { for ( Predicate<? super R> filter : filters) { if (!filter.test(record)) { continue scan; } } return record; } } return null; } }
to
{ final PrimitiveLongIterator ids=new StoreIdIterator(store,forward); final RecordCursor<R> cursor=store.newRecordCursor(store.newRecord()); { store.placeRecordCursor(0,cursor,RecordLoad.CHECK); } @Override protected R fetchNextOrNull(){ scan: while (ids.hasNext()) { if (cursor.next(ids.next())) { R record=cursor.get(); for ( Predicate<? super R> filter : filters) { if (!filter.test(record)) { continue scan; } } return record; } } return null; } @Override public void close(){ cursor.close(); } }