Oh, no, I'm about to agree unconditionally with Paul. :-) > Why should it enforce the order? The burden should be on the > implementor, not the user. Don't use a StringBuilder: use simple > fields:
> class URI {
> private String scheme;
> private String host;
> // ...
> }
Yeah, that. The warnings to the user (cough Checked Exceptions /cough) should
come in when you try to confess the builder into a URI, Reference, or String
and it doesn't contain enough pieces and parts to have meaning.
- R

