org.eclipse.epsilon.ecl.trace.MatchTrace Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2008-2023 The University of York.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Dimitrios Kolovos - initial API and implementation
* Antonio Garcia-Dominguez - change to use bidi maps
******************************************************************************/
package org.eclipse.epsilon.ecl.trace;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.IdentityHashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.atomic.AtomicLong;
import java.util.function.Function;
import java.util.stream.Stream;
import org.eclipse.epsilon.ecl.dom.MatchRule;
import org.eclipse.epsilon.eol.execute.context.IEolContext;
import com.google.common.graph.ElementOrder;
import com.google.common.graph.Graphs;
import com.google.common.graph.MutableNetwork;
import com.google.common.graph.NetworkBuilder;
/**
*
*
* @since 1.6 Can be accessed through Collection API rather than getMatches for convenience
*/
public class MatchTrace implements Collection {
/*
* AVOID DIRECTLY ACCESSING THIS FIELD: use syncOnGraph() instead. This ensures
* we synchronize on the graph if we're in a concurrent scenario.
*/
protected MutableNetwork
© 2015 - 2025 Weber Informatics LLC | Privacy Policy