News

History History 622 lines (508 loc) · 24.3 KB Breadcrumbs Java-Tutorial / docs / Java / collection / ...
ArrayList的继承关系 ArrayList继承AbstractList抽象父类,实现了List接口(规定了List的操作规范)、RandomAccess(可随机访问)、Cloneable(可拷贝)、Serializable(可序列化)。
Arraylist is an heterogeneous collection of objects where each object can be indexed individually. while writing an application there could be some scenarios where we have arraylist object filled with ...
Sometime we need to save arraylist of objects into shared preferences so that we can use that data in multiple activities when required. we can do that easily as below:suppose we have model users as ...