> It seems the API isn't completely accurate.I was referring to the fact that they left out AbstractStringBuilder from the inheritance tree actually :)
Not that the API is infallible, but what makes you
say it's not accurate? StringBuilder provides a
concrete implementation for the methods in
Appendable, which it inherits from
AbstractStringBuilder. How does StringBuilder
not implement Appendable?
java.lang.Object extended by java.lang.StringBuilder
public final class StringBuilder extends Object implements Serializable, CharSequence
StringBuilder implements Object, when it implements
> So the question is, why does the Javadoc sayAh, ok, thanks for the clarification! :-)StringBuilder implements Object, when itimplementsAbstractStringBuilder?
Ah. Now I see what you're asking.
AbstractStringBuilder is package-private; it's not
part of the public interface. Classes and interfaces
with less than protected access are typically
excluded from generated javadocs.