Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.tinkerpop.blueprints.impls.neo4j2.batch;
 
 

Author(s):
Marko A. Rodriguez (http://markorodriguez.com)
    private final IndexHits<Longhits;
    private final Neo4j2BatchGraph graph;
    public Neo4j2BatchEdgeIterable(final Neo4j2BatchGraph graphfinal IndexHits<Longhits) {
        this. = hits;
        this. = graph;
    }
    public Iterator<Edgeiterator() {
        return new Iterator<Edge>() {
            private final Iterator<Longitty = .iterator();
            public void remove() {
                .remove();
            }
            public boolean hasNext() {
                return .hasNext();
            }
            public Edge next() {
                return new Neo4j2BatchEdge(.next(), null);
            }
        };
    }
    public void close() {
        .close();
    }
New to GrepCode? Check out our FAQ X