sparqlGraphLibrary/src/main/java/com/ge/research/semtk/ontologyTools/PredicateStatsCache.java
public synchronized void removeOverlapping(SparqlConnection conn) {
		HashSet<String> toDelete = new HashSet<String>();
		
		// search through conn's models
		for (String key : this.hash.keySet()) {
			if (conn.overlapsSparqlConnKey(key)) {
				if (! toDelete.contains(key)) {
					toDelete.add(key);
				}
			}
		}
		
		for (String d : toDelete) {
			this.hash.remove(d);
		}
	}
/**
	 * Clear any connection from cache if it shares a model dataset with conn
	 * @param conn
	 */
Clear any connection from cache if it shares a model dataset with conn
@param conn
Clear any connection from cache if it shares a model dataset with conn @param conn
public synchronized void removeOverlapping(SparqlConnection conn) {
		HashSet<String> toDelete = new HashSet<String>();
		for (String key : this.hash.keySet()) {
			if (conn.overlapsSparqlConnKey(key)) {
				if (! toDelete.contains(key)) {
					toDelete.add(key);
				}
			}
		}
		for (String d : toDelete) {
			this.hash.remove(d);
		}
	}
public synchronized void removeOverlapping ( SparqlConnection conn ) { HashSet < String > toDelete = new HashSet < String > ( ) ; for ( String key : this . hash . keySet ( ) ) { if ( conn . overlapsSparqlConnKey ( key ) ) { if ( ! toDelete . contains ( key ) ) { toDelete . add ( key ) ; } } } for ( String d : toDelete ) { this . hash . remove ( d ) ; } }
Clear any connection from cache if it shares a model dataset with conn
 @param conn
Clear any connection from cache if it shares a model dataset with conn @param conn
// search through conn's models