Toggle navigation
Home
java.util.Iterator to org.neo4j.graphdb.ResourceIterator
No. of Instances - 21
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: T_SUPER_R
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Other
expander.expand(path,state).iterator()
to
expander.expand(path,state).iterator()
node.getRelationships(direction.direction,direction.types).iterator()
to
node.getRelationships(direction.direction,direction.types).iterator()
node.getRelationships(item.direction,item.types).iterator()
to
node.getRelationships(item.direction,item.types).iterator()
path.endNode().getRelationships(direction).iterator()
to
path.endNode().getRelationships(direction).iterator()
Cascading Type Change (Different)
ArrayIterator<DirectionAndTypes>
to
ArrayIterator<>
NestingIterator<Relationship,DirectionAndTypes>
to
NestingResourceIterator<Relationship,DirectionAndTypes>
NestingIterator<Relationship,Node>
to
NestingResourceIterator<Relationship,Node>
Update Anonymous class
{ @Override protected Iterator<Relationship> createNestedIterator( DirectionAndTypes item){ return node.getRelationships(item.direction,item.types).iterator(); } }
to
{ @Override protected ResourceIterator<Relationship> createNestedIterator( DirectionAndTypes item){ return asResourceIterator(node.getRelationships(item.direction,item.types).iterator()); } }
{ @Override protected Iterator<Relationship> createNestedIterator( Node node){ lastPath.setEndNode(node); return expander.expand(lastPath,BranchState.NO_STATE).iterator(); } }
to
{ @Override protected ResourceIterator<Relationship> createNestedIterator( Node node){ lastPath.setEndNode(node); return Iterators.asResourceIterator(expander.expand(lastPath,BranchState.NO_STATE).iterator()); } }
Add or Remove Method invocation
PRUNED_ITERATOR
to
Iterators.emptyResourceIterator()
PRUNED_ITERATOR
to
Iterators.emptyResourceIterator()
PRUNED_ITERATOR
to
Iterators.emptyResourceIterator()
Collections.<Relationship>emptyList()
to
Iterators