public boolean hasNonEmptyIntersection(PtSensVisitor<VarType> other){
  for (  Map.Entry<Node,List<VarType>> entry : tableView.entrySet()) {
    Node var=entry.getKey();
    List<VarType> list1=entry.getValue();
    List<VarType> list2=other.getCSList(var);
    if (list1.size() == 0 || list2.size() == 0)     continue;
    for (    VarType cv1 : list1) {
      for (      VarType cv2 : list2)       if (cv1.intersect(cv2))       return true;
    }
  }
  return false;
}

public boolean hasNonEmptyIntersection ( PtSensVisitor < VarType > other ) { for ( Map . Entry < Node , List < VarType > > entry : tableView . entrySet ( ) ) { Node var = entry . getKey ( ) ; List < VarType > list1 = entry . getValue ( ) ; List < VarType > list2 = other . getCSList ( var ) ; if ( list1 . size ( ) == 0 || list2 . size ( ) == 0 ) continue ; for ( VarType cv1 : list1 ) { for ( VarType cv2 : list2 ) if ( cv1 . intersect ( cv2 ) ) return true ; } } return false ; }
tests if two containers have contain same things . can be used to answer the alias query .
