Implement efficient versions of contains, containsAll, indexOf, lastIndexOf, toArray, allAll in ChunkList.