public void concatenate(SIPHeaderList other, boolean top) throws IllegalArgumentException { if (!hlist.getMyClass().equals(other.hlist.getMyClass())) throw new IllegalArgumentException( "SIPHeaderList concatenation " + hlist.getMyClass().getName() + "/" + other.hlist.getMyClass().getName()); hlist.concatenate(other.hlist, top);
public void concatenate(SIPHeaderList other, boolean topFlag) throws IllegalArgumentException { if (!topFlag) { this.addAll(other); } else {  this.addAll(0, other); }
	public void concatenate(SIPHeaderList other, boolean top)		throws IllegalArgumentException {		if (!hlist.getMyClass().equals(other.hlist.getMyClass()))			throw new IllegalArgumentException(				"SIPHeaderList concatenation "					+ hlist.getMyClass().getName()					+ "/"					+ other.hlist.getMyClass().getName());		hlist.concatenate(other.hlist, top);	}