
com.tinkerpop.gremlin.process.Path Maven / Gradle / Ivy
package com.tinkerpop.gremlin.process;
import org.javatuples.Pair;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.stream.IntStream;
import java.util.stream.Stream;
/**
* A Path denotes a particular walk through a {@link com.tinkerpop.gremlin.structure.Graph} as defined by a {@link Traverser}.
* Internal to a Path are two lists: a list of labels and a list of objects.
* The list of labels are the as-labels of the steps traversed.
* The list of objects are the objects traversed.
*
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class Path implements Serializable {
protected List asLabels = new ArrayList<>();
protected List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy