郑正华 发表于 2012-8-11 23:29
因为这些集合框架重写了toString方法。就比如ArrayList,它是重写了AbstractCollection类的toString方法。 ...
就是这样?
接口 List<E>
所有超级接口:
Collection<E>, Iterable<E>
所有已知实现类:
AbstractList, AbstractSequentialList, ArrayList, AttributeList, CopyOnWriteArrayList, LinkedList, RoleList, RoleUnresolvedList, Stack, Vector
|