Skip to content
Browse files
8242327: List spec should state that unmodifiable lists implement Ran…

Reviewed-by: lancea
  • Loading branch information
Stuart Marks committed Apr 13, 2020
1 parent 99a6b6b commit a46f4bfa9593ef02a423f43f00a989442d95807c
Showing 1 changed file with 2 additions and 0 deletions.
@@ -104,6 +104,8 @@
* <li>They are serializable if all elements are serializable.
* <li>The order of elements in the list is the same as the order of the
* provided arguments, or of the elements in the provided array.
* <li>The lists and their {@link #subList(int, int) subList} views implement the
* {@link RandomAccess} interface.
* <li>They are <a href="../lang/doc-files/ValueBased.html">value-based</a>.
* Callers should make no assumptions about the identity of the returned instances.
* Factories are free to create new instances or reuse existing ones. Therefore,

0 comments on commit a46f4bf

Please sign in to comment.