Toggle navigation
Home
org.neo4j.collection.primitive.PrimitiveLongResourceIterator to java.util.Iterator<java.lang.Long>
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Rename Variable
resourceIterator
to
toIterator
resourceIterator
to
toIterator
resourceIterator
to
toIterator
Cascading Type Change (Similar)
PrimitiveLongResourceIterator
to
Iterator<Long>
Cascading Type Change (Different)
long
to
Long
Add or Remove Method invocation
resource.close()
to
primIterator.hasNext()
iterator.hasNext()
to
primIterator.next()
Update Anonymous class
{ @Override public void close(){ if (resource != null) { resource.close(); } } @Override public long next(){ return iterator.next(); } @Override public boolean hasNext(){ return iterator.hasNext(); } }
to
{ @Override public boolean hasNext(){ return primIterator.hasNext(); } @Override public Long next(){ return primIterator.next(); } @Override public void remove(){ throw new UnsupportedOperationException(); } }