public void removeFrameOfType(String identifier){
  HashSet<String> result=new HashSet<String>();
  for (  Object match : frameMap.keySet()) {
    String key=(String)match;
    if (key.startsWith(identifier)) {
      result.add(key);
    }
  }
  for (  String match : result) {
    logger.finest("Removing frame with identifier:" + match + "because starts with:"+ identifier);
    frameMap.remove(match);
  }
}

public void removeFrameOfType ( String identifier ) { HashSet < String > result = new HashSet < String > ( ) ; for ( Object match : frameMap . keySet ( ) ) { String key = ( String ) match ; if ( key . startsWith ( identifier ) ) { result . add ( key ) ; } } for ( String match : result ) { logger . finest ( "Removing frame with identifier:" + match + "because starts with:" + identifier ) ; frameMap . remove ( match ) ; } }
remove any frames starting with this identifier from tag
