- Type Parameters:
E
-
- All Superinterfaces:
Collection<E>
,Iterable<E>
,List<E>
,PCollection<E>
,PSequence<E>
- All Known Implementing Classes:
TreePVector
An immutable, persistent list.
-
Method Summary
Modifier and TypeMethodDescriptionminus
(int i) Returns a sequence consisting of the elements of this without the first occurrence of e.minusAll
(Collection<?> list) Returns a vector consisting of the elements of this with e appended.plusAll
(int i, Collection<? extends E> list) plusAll
(Collection<? extends E> list) Returns a vector consisting of the elements of this with list appended.subList
(int start, int end) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
-
Method Details
-
plus
Returns a vector consisting of the elements of this with e appended. -
plusAll
Returns a vector consisting of the elements of this with list appended. -
with
-
plus
-
plusAll
-
minus
Description copied from interface:PSequence
Returns a sequence consisting of the elements of this without the first occurrence of e. -
minusAll
-
minus
-
subList
-