code: public boolean startsWith(Name name) {
  		if (name.size() == 0) {
  			return false;
  		}
  
  		DistinguishedName start = null;
  		if (name instanceof DistinguishedName) {
  			start = (DistinguishedName) name;
  		}
  		else {
  			return false;
  		}
  
  		if (start.size() > this.size()) {
  			return false;
  		}
  
  		Iterator longiter = names.iterator();
  		Iterator shortiter = start.getNames().iterator();
  
  		while (shortiter.hasNext()) {
  			Object longname = longiter.next();
  			Object shortname = shortiter.next();
  
  			if (!longname.equals(shortname)) {
  				return false;
  			}
  		}
  
  		// All names in shortiter matched.
  		return true;
  	}
docs: /*
  (non-Javadoc)
  
  @see javax.naming.Name#startsWith(javax.naming.Name)