public static interface Collections.LiteralList<A> extends List<A>
java.util.Arrays.asList()
, but truely immutable.Modifier and Type | Method and Description |
---|---|
Collections.LiteralList<A> |
with(A value) |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
Collections.LiteralList<A> with(A value)
see also the complete user documentation .