E
- public interface PSequence<E> extends PCollection<E>, List<E>
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E element)
Deprecated.
|
boolean |
addAll(int index,
Collection<? extends E> c)
Deprecated.
|
PSequence<E> |
minus(int i) |
PSequence<E> |
minus(Object e)
Returns a sequence consisting of the elements of this without the first occurrence of e.
|
PSequence<E> |
minusAll(Collection<?> list) |
PSequence<E> |
plus(E e) |
PSequence<E> |
plus(int i,
E e) |
PSequence<E> |
plusAll(Collection<? extends E> list) |
PSequence<E> |
plusAll(int i,
Collection<? extends E> list) |
E |
remove(int index)
Deprecated.
|
E |
set(int index,
E element)
Deprecated.
|
PSequence<E> |
subList(int start,
int end) |
PSequence<E> |
with(int i,
E e) |
add, addAll, clear, remove, removeAll, retainAll
add, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
PSequence<E> plus(E e)
plus
in interface PCollection<E>
e
- non-nullPSequence<E> plusAll(Collection<? extends E> list)
plusAll
in interface PCollection<E>
list
- contains no null elementsPSequence<E> with(int i, E e)
i
- e
- IndexOutOfBOundsException
- if i<0 || i>=this.size()PSequence<E> plus(int i, E e)
i
- e
- non-nullIndexOutOfBOundsException
- if i<0 || i>this.size()PSequence<E> plusAll(int i, Collection<? extends E> list)
i
- list
- IndexOutOfBOundsException
- if i<0 || i>this.size()PSequence<E> minus(Object e)
minus
in interface PCollection<E>
PSequence<E> minusAll(Collection<?> list)
minusAll
in interface PCollection<E>
PSequence<E> minus(int i)
i
- IndexOutOfBOundsException
- if i<0 || i>=this.size()@Deprecated boolean addAll(int index, Collection<? extends E> c)
@Deprecated void add(int index, E element)
@Deprecated E remove(int index)
Copyright © 2019. All rights reserved.