Java List:Index, SubList, and Random Access as a Type Use List as an indexed contract — get/set, subList views, sort/replaceAll, and RandomAccess — without treating every List like an ArrayList. Read More →