public void removeBandwidth(String name){
  if (name != null)   if (bandwidthList != null) {
    for (int i=0; i < bandwidthList.size(); i++) {
      Object o=bandwidthList.elementAt(i);
      if (o instanceof BandwidthField) {
        BandwidthField b=(BandwidthField)o;
        try {
          String type=b.getType();
          if (type != null) {
            if (name.equals(type)) {
              bandwidthList.remove(b);
            }
          }
        }
 catch (        SdpParseException e) {
        }
      }
    }
  }
}

public void removeBandwidth ( String name ) { if ( name != null ) if ( bandwidthList != null ) { for ( int i = 0 ; i < bandwidthList . size ( ) ; i ++ ) { Object o = bandwidthList . elementAt ( i ) ; if ( o instanceof BandwidthField ) { BandwidthField b = ( BandwidthField ) o ; try { String type = b . getType ( ) ; if ( type != null ) { if ( name . equals ( type ) ) { bandwidthList . remove ( b ) ; } } } catch ( SdpParseException e ) { } } } } }
removes the specified bandwidth type .
