Java Reference
In-Depth Information
forwarding methods and initialize that field to refer to an
AttributedImpl
object.
Forwarding is both straightforward and much less work than imple-
menting
Attributed
from scratch. Forwarding also enables you to quickly
change the implementation you use, should a better implementation of
Attributed
become available at some future date. However, forwarding
must be set up manually and that can be tedious and sometimes error
prone.