Java RandomAccess 接口 RandomAccess 接口是一个标志接口,用以标记实现的 List 集合具备快速随机访问的能力。 源码展示 public interface RandomAccess { }