test_class.file: gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/MatchStepTest.java
test_class.identifier: MatchStepTest
test_class.superclass: extends StepTest
test_case.body: @Test
      public void testPreCompilationOfStartAndEnds() {
          final Traversal.Admin<?, ?> traversal = __.match(as("a").out().as("b"), as("c").path().as("d")).asAdmin();
          final MatchStep<?, ?> matchStep = (MatchStep<?, ?>) traversal.getStartStep();
          assertEquals(MatchStep.class, traversal.getStartStep().getClass());
          assertEquals(2, matchStep.getGlobalChildren().size());
          Traversal.Admin<Object, Object> pattern = matchStep.getGlobalChildren().get(0);
          assertEquals("a", ((MatchStep.MatchStartStep) pattern.getStartStep()).getSelectKey().get());
          assertEquals(VertexStep.class, pattern.getStartStep().getNextStep().getClass());
          assertEquals("b", ((MatchStep.MatchEndStep) pattern.getEndStep()).getMatchKey().get());
          //
          pattern = matchStep.getGlobalChildren().get(1);
          assertEquals("c", ((MatchStep.MatchStartStep) pattern.getStartStep()).getSelectKey().get());
          assertEquals(PathStep.class, pattern.getStartStep().getNextStep().getClass());
          assertEquals("d", ((MatchStep.MatchEndStep) pattern.getEndStep()).getMatchKey().get());
      }
test_case.class_method_signature: MatchStepTest.testPreCompilationOfStartAndEnds()
test_case.full_signature: @Test public void testPreCompilationOfStartAndEnds()
test_case.identifier: testPreCompilationOfStartAndEnds
test_case.invocations: asAdmin match as out as as path as getStartStep assertEquals getClass getStartStep assertEquals size getGlobalChildren get getGlobalChildren assertEquals get getSelectKey getStartStep assertEquals getClass getNextStep getStartStep assertEquals get getMatchKey getEndStep get getGlobalChildren assertEquals get getSelectKey getStartStep assertEquals getClass getNextStep getStartStep assertEquals get getMatchKey getEndStep
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPreCompilationOfStartAndEnds()
focal_class.declarator: matchTraversals = new ArrayList<>()
focal_class.modifier: private
focal_class.original_string: private List<Traversal.Admin<Object, Object>> matchTraversals = new ArrayList<>();
focal_class.type: List<Traversal.Admin<Object, Object>>
focal_class.var_name: matchTraversals
focal_class.declarator: first = true
focal_class.modifier: private
focal_class.original_string: private boolean first = true;
focal_class.type: boolean
focal_class.var_name: first
focal_class.declarator: matchStartLabels = new HashSet<>()
focal_class.modifier: private
focal_class.original_string: private Set<String> matchStartLabels = new HashSet<>();
focal_class.type: Set<String>
focal_class.var_name: matchStartLabels
focal_class.declarator: matchEndLabels = new HashSet<>()
focal_class.modifier: private
focal_class.original_string: private Set<String> matchEndLabels = new HashSet<>();
focal_class.type: Set<String>
focal_class.var_name: matchEndLabels
focal_class.declarator: scopeKeys = null
focal_class.modifier: private
focal_class.original_string: private Set<String> scopeKeys = null;
focal_class.type: Set<String>
focal_class.var_name: scopeKeys
focal_class.declarator: connective
focal_class.modifier: private final
focal_class.original_string: private final ConnectiveStep.Connective connective;
focal_class.type: ConnectiveStep.Connective
focal_class.var_name: connective
focal_class.declarator: computedStartLabel
focal_class.modifier: private final
focal_class.original_string: private final String computedStartLabel;
focal_class.type: String
focal_class.var_name: computedStartLabel
focal_class.declarator: matchAlgorithm
focal_class.modifier: private
focal_class.original_string: private MatchAlgorithm matchAlgorithm;
focal_class.type: MatchAlgorithm
focal_class.var_name: matchAlgorithm
focal_class.declarator: matchAlgorithmClass = CountMatchAlgorithm.class
focal_class.modifier: private
focal_class.original_string: private Class<? extends MatchAlgorithm> matchAlgorithmClass = CountMatchAlgorithm.class;
focal_class.type: Class<? extends MatchAlgorithm>
focal_class.var_name: matchAlgorithmClass
focal_class.declarator: referencedLabelsMap
focal_class.modifier: private
focal_class.original_string: private Map<String, Set<String>> referencedLabelsMap;
focal_class.type: Map<String, Set<String>>
focal_class.var_name: referencedLabelsMap
focal_class.declarator: dedups = null
focal_class.modifier: private
focal_class.original_string: private Set<List<Object>> dedups = null;
focal_class.type: Set<List<Object>>
focal_class.var_name: dedups
focal_class.declarator: dedupLabels = null
focal_class.modifier: private
focal_class.original_string: private Set<String> dedupLabels = null;
focal_class.type: Set<String>
focal_class.var_name: dedupLabels
focal_class.declarator: keepLabels = null
focal_class.modifier: private
focal_class.original_string: private Set<String> keepLabels = null;
focal_class.type: Set<String>
focal_class.var_name: keepLabels
focal_class.declarator: standardAlgorithmBarrier = new TraverserSet()
focal_class.modifier: private final
focal_class.original_string: private final TraverserSet standardAlgorithmBarrier = new TraverserSet();
focal_class.type: TraverserSet
focal_class.var_name: standardAlgorithmBarrier
focal_class.file: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/MatchStep.java
focal_class.identifier: MatchStep
focal_class.interfaces: implements TraversalParent, Scoping, PathProcessor
focal_class.class_method_signature: MatchStep.MatchStep(final Traversal.Admin traversal, final ConnectiveStep.Connective connective, final Traversal... matchTraversals)
focal_class.full_signature: public  MatchStep(final Traversal.Admin traversal, final ConnectiveStep.Connective connective, final Traversal... matchTraversals)
focal_class.identifier: MatchStep
focal_class.modifiers: public
focal_class.parameters: (final Traversal.Admin traversal, final ConnectiveStep.Connective connective, final Traversal... matchTraversals)
focal_class.signature:  MatchStep(final Traversal.Admin traversal, final ConnectiveStep.Connective connective, final Traversal... matchTraversals)
focal_class.class_method_signature: MatchStep.pullOutVariableStartStepToParent(final WhereTraversalStep<?> whereStep)
focal_class.full_signature: private String pullOutVariableStartStepToParent(final WhereTraversalStep<?> whereStep)
focal_class.identifier: pullOutVariableStartStepToParent
focal_class.modifiers: private
focal_class.parameters: (final WhereTraversalStep<?> whereStep)
focal_class.return: String
focal_class.signature: String pullOutVariableStartStepToParent(final WhereTraversalStep<?> whereStep)
focal_class.class_method_signature: MatchStep.pullOutVariableStartStepToParent(final Set<String> selectKeys, final Traversal.Admin<?, ?> traversal, boolean testRun)
focal_class.full_signature: private Set<String> pullOutVariableStartStepToParent(final Set<String> selectKeys, final Traversal.Admin<?, ?> traversal, boolean testRun)
focal_class.identifier: pullOutVariableStartStepToParent
focal_class.modifiers: private
focal_class.parameters: (final Set<String> selectKeys, final Traversal.Admin<?, ?> traversal, boolean testRun)
focal_class.return: Set<String>
focal_class.signature: Set<String> pullOutVariableStartStepToParent(final Set<String> selectKeys, final Traversal.Admin<?, ?> traversal, boolean testRun)
focal_class.class_method_signature: MatchStep.configureStartAndEndSteps(final Traversal.Admin<?, ?> matchTraversal)
focal_class.full_signature: private void configureStartAndEndSteps(final Traversal.Admin<?, ?> matchTraversal)
focal_class.identifier: configureStartAndEndSteps
focal_class.modifiers: private
focal_class.parameters: (final Traversal.Admin<?, ?> matchTraversal)
focal_class.return: void
focal_class.signature: void configureStartAndEndSteps(final Traversal.Admin<?, ?> matchTraversal)
focal_class.class_method_signature: MatchStep.getConnective()
focal_class.full_signature: public ConnectiveStep.Connective getConnective()
focal_class.identifier: getConnective
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ConnectiveStep.Connective
focal_class.signature: ConnectiveStep.Connective getConnective()
focal_class.class_method_signature: MatchStep.addGlobalChild(final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.full_signature: public void addGlobalChild(final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.identifier: addGlobalChild
focal_class.modifiers: public
focal_class.parameters: (final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.return: void
focal_class.signature: void addGlobalChild(final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.class_method_signature: MatchStep.removeGlobalChild(final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.full_signature: @Override public void removeGlobalChild(final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.identifier: removeGlobalChild
focal_class.modifiers: @Override public
focal_class.parameters: (final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.return: void
focal_class.signature: void removeGlobalChild(final Traversal.Admin<?, ?> globalChildTraversal)
focal_class.class_method_signature: MatchStep.getGlobalChildren()
focal_class.full_signature: @Override public List<Traversal.Admin<Object, Object>> getGlobalChildren()
focal_class.identifier: getGlobalChildren
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Traversal.Admin<Object, Object>>
focal_class.signature: List<Traversal.Admin<Object, Object>> getGlobalChildren()
focal_class.class_method_signature: MatchStep.setKeepLabels(final Set<String> labels)
focal_class.full_signature: @Override public void setKeepLabels(final Set<String> labels)
focal_class.identifier: setKeepLabels
focal_class.modifiers: @Override public
focal_class.parameters: (final Set<String> labels)
focal_class.return: void
focal_class.signature: void setKeepLabels(final Set<String> labels)
focal_class.class_method_signature: MatchStep.getKeepLabels()
focal_class.full_signature: @Override public Set<String> getKeepLabels()
focal_class.identifier: getKeepLabels
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getKeepLabels()
focal_class.class_method_signature: MatchStep.getMatchEndLabels()
focal_class.full_signature: public Set<String> getMatchEndLabels()
focal_class.identifier: getMatchEndLabels
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getMatchEndLabels()
focal_class.class_method_signature: MatchStep.getMatchStartLabels()
focal_class.full_signature: public Set<String> getMatchStartLabels()
focal_class.identifier: getMatchStartLabels
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getMatchStartLabels()
focal_class.class_method_signature: MatchStep.getScopeKeys()
focal_class.full_signature: @Override public Set<String> getScopeKeys()
focal_class.identifier: getScopeKeys
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getScopeKeys()
focal_class.class_method_signature: MatchStep.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: MatchStep.reset()
focal_class.full_signature: @Override public void reset()
focal_class.identifier: reset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: MatchStep.setMatchAlgorithm(final Class<? extends MatchAlgorithm> matchAlgorithmClass)
focal_class.full_signature: public void setMatchAlgorithm(final Class<? extends MatchAlgorithm> matchAlgorithmClass)
focal_class.identifier: setMatchAlgorithm
focal_class.modifiers: public
focal_class.parameters: (final Class<? extends MatchAlgorithm> matchAlgorithmClass)
focal_class.return: void
focal_class.signature: void setMatchAlgorithm(final Class<? extends MatchAlgorithm> matchAlgorithmClass)
focal_class.class_method_signature: MatchStep.getMatchAlgorithm()
focal_class.full_signature: public MatchAlgorithm getMatchAlgorithm()
focal_class.identifier: getMatchAlgorithm
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MatchAlgorithm
focal_class.signature: MatchAlgorithm getMatchAlgorithm()
focal_class.class_method_signature: MatchStep.clone()
focal_class.full_signature: @Override public MatchStep<S, E> clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MatchStep<S, E>
focal_class.signature: MatchStep<S, E> clone()
focal_class.class_method_signature: MatchStep.setTraversal(final Traversal.Admin<?, ?> parentTraversal)
focal_class.full_signature: @Override public void setTraversal(final Traversal.Admin<?, ?> parentTraversal)
focal_class.identifier: setTraversal
focal_class.modifiers: @Override public
focal_class.parameters: (final Traversal.Admin<?, ?> parentTraversal)
focal_class.return: void
focal_class.signature: void setTraversal(final Traversal.Admin<?, ?> parentTraversal)
focal_class.class_method_signature: MatchStep.setDedupLabels(final Set<String> labels)
focal_class.full_signature: public void setDedupLabels(final Set<String> labels)
focal_class.identifier: setDedupLabels
focal_class.modifiers: public
focal_class.parameters: (final Set<String> labels)
focal_class.return: void
focal_class.signature: void setDedupLabels(final Set<String> labels)
focal_class.class_method_signature: MatchStep.isDuplicate(final Traverser<S> traverser)
focal_class.full_signature: private boolean isDuplicate(final Traverser<S> traverser)
focal_class.identifier: isDuplicate
focal_class.modifiers: private
focal_class.parameters: (final Traverser<S> traverser)
focal_class.return: boolean
focal_class.signature: boolean isDuplicate(final Traverser<S> traverser)
focal_class.class_method_signature: MatchStep.hasMatched(final ConnectiveStep.Connective connective, final Traverser.Admin<S> traverser)
focal_class.full_signature: private boolean hasMatched(final ConnectiveStep.Connective connective, final Traverser.Admin<S> traverser)
focal_class.identifier: hasMatched
focal_class.modifiers: private
focal_class.parameters: (final ConnectiveStep.Connective connective, final Traverser.Admin<S> traverser)
focal_class.return: boolean
focal_class.signature: boolean hasMatched(final ConnectiveStep.Connective connective, final Traverser.Admin<S> traverser)
focal_class.class_method_signature: MatchStep.getBindings(final Traverser<S> traverser)
focal_class.full_signature: private Map<String, E> getBindings(final Traverser<S> traverser)
focal_class.identifier: getBindings
focal_class.modifiers: private
focal_class.parameters: (final Traverser<S> traverser)
focal_class.return: Map<String, E>
focal_class.signature: Map<String, E> getBindings(final Traverser<S> traverser)
focal_class.class_method_signature: MatchStep.initializeMatchAlgorithm(final TraversalEngine.Type traversalEngineType)
focal_class.full_signature: private void initializeMatchAlgorithm(final TraversalEngine.Type traversalEngineType)
focal_class.identifier: initializeMatchAlgorithm
focal_class.modifiers: private
focal_class.parameters: (final TraversalEngine.Type traversalEngineType)
focal_class.return: void
focal_class.signature: void initializeMatchAlgorithm(final TraversalEngine.Type traversalEngineType)
focal_class.class_method_signature: MatchStep.hasPathLabel(final Path path, final Set<String> labels)
focal_class.full_signature: private boolean hasPathLabel(final Path path, final Set<String> labels)
focal_class.identifier: hasPathLabel
focal_class.modifiers: private
focal_class.parameters: (final Path path, final Set<String> labels)
focal_class.return: boolean
focal_class.signature: boolean hasPathLabel(final Path path, final Set<String> labels)
focal_class.class_method_signature: MatchStep.getReferencedLabelsMap()
focal_class.full_signature: private Map<String, Set<String>> getReferencedLabelsMap()
focal_class.identifier: getReferencedLabelsMap
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Map<String, Set<String>>
focal_class.signature: Map<String, Set<String>> getReferencedLabelsMap()
focal_class.class_method_signature: MatchStep.standardAlgorithm()
focal_class.full_signature: @Override protected Iterator<Traverser.Admin<Map<String, E>>> standardAlgorithm()
focal_class.identifier: standardAlgorithm
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Iterator<Traverser.Admin<Map<String, E>>>
focal_class.signature: Iterator<Traverser.Admin<Map<String, E>>> standardAlgorithm()
focal_class.class_method_signature: MatchStep.computerAlgorithm()
focal_class.full_signature: @Override protected Iterator<Traverser.Admin<Map<String, E>>> computerAlgorithm()
focal_class.identifier: computerAlgorithm
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Iterator<Traverser.Admin<Map<String, E>>>
focal_class.signature: Iterator<Traverser.Admin<Map<String, E>>> computerAlgorithm()
focal_class.class_method_signature: MatchStep.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: MatchStep.getRequirements()
focal_class.full_signature: @Override public Set<TraverserRequirement> getRequirements()
focal_class.identifier: getRequirements
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<TraverserRequirement>
focal_class.signature: Set<TraverserRequirement> getRequirements()
focal_class.superclass: extends ComputerAwareStep<S, Map<String, E>>
focal_method.body: @Override
      public List<Traversal.Admin<Object, Object>> getGlobalChildren() {
          return Collections.unmodifiableList(this.matchTraversals);
      }
focal_method.class_method_signature: MatchStep.getGlobalChildren()
focal_method.full_signature: @Override public List<Traversal.Admin<Object, Object>> getGlobalChildren()
focal_method.identifier: getGlobalChildren
focal_method.invocations: unmodifiableList
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: List<Traversal.Admin<Object, Object>>
focal_method.signature: List<Traversal.Admin<Object, Object>> getGlobalChildren()