Added Methods |
void forEach(Consumer<? super E> )
|
|
void replaceAll(UnaryOperator<E> )
|
Guaranteed to throw an exception and leave the list unmodified. |
void sort(Comparator<? super E> )
|
Guaranteed to throw an exception and leave the list unmodified. |
ImmutableList<E> sortedCopyOf(Iterable<? extends E> )
|
Returns an immutable list containing the given elements, sorted according to their natural
order. |
ImmutableList<E> sortedCopyOf(Comparator<?, super, E>, Iterable<?, extends, E>)
|
Returns an immutable list containing the given elements, in sorted order relative to the
specified comparator. |
Spliterator<E> spliterator()
|
|
(Collector<E, ?, ImmutableList<E>> ) toImmutableList()
|
Returns a {@code Collector} that accumulates the input elements into a new
{@code ImmutableList}, in encounter order. |