return this.m_product;
}
}
// construct an object using the builder interface.
public class director{
public void construct(builder builder){
//顺序不能变
builder.buildparta();
builder.buildpartb();
}
}
// represents the complex object under construction.concretebuilder builds