RandomAccess接口
package java.util;
// * Marker interface used by <tt>List</tt> implementations to indicate that
// * they support fast (generally constant time) random access. The primary
// * purpose of this interface is to allow generic algorithms to alter their
// * behavior to provide good performance when applied to either random or
// * sequential access lists.
//空接口,标记接口,支持快速随机访问,ArrayList实现了此接口
public interface RandomAccess {
}
Java之uitil包源码阅读 文章被收录于专栏
源码阅读是程序员必不可少的,本专栏记录本人阅读java源码笔记,与阅读此专栏的同道共同进步。 本专栏以字典序对源码进行阅读注释,主要工作:1.去除源码中冗长的英语注释,用简短的注释代替;2.对关键语句和算法予以说明。3.概要性描述。
