|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- public interface PVector<E>
An immutable, persistent list.
Method Summary | |
---|---|
PVector<E> |
minus(int i)
|
PVector<E> |
minus(Object e)
Returns a sequence consisting of the elements of this without the first occurrence of e. |
PVector<E> |
minusAll(Collection<?> list)
|
PVector<E> |
plus(E e)
Returns a vector consisting of the elements of this with e appended. |
PVector<E> |
plus(int i,
E e)
|
PVector<E> |
plusAll(Collection<? extends E> list)
Returns a vector consisting of the elements of this with list appended. |
PVector<E> |
plusAll(int i,
Collection<? extends E> list)
|
PVector<E> |
subList(int start,
int end)
|
PVector<E> |
with(int i,
E e)
|
Methods inherited from interface org.pcollections.PSequence |
---|
add, addAll, remove, set |
Methods inherited from interface org.pcollections.PCollection |
---|
add, addAll, clear, remove, removeAll, retainAll |
Methods inherited from interface java.util.List |
---|
add, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
PVector<E> plus(E e)
plus
in interface PCollection<E>
plus
in interface PSequence<E>
e
- non-null
PVector<E> plusAll(Collection<? extends E> list)
plusAll
in interface PCollection<E>
plusAll
in interface PSequence<E>
list
- contains no null elements
PVector<E> with(int i, E e)
with
in interface PSequence<E>
PVector<E> plus(int i, E e)
plus
in interface PSequence<E>
e
- non-null
PVector<E> plusAll(int i, Collection<? extends E> list)
plusAll
in interface PSequence<E>
PVector<E> minus(Object e)
PSequence
minus
in interface PCollection<E>
minus
in interface PSequence<E>
PVector<E> minusAll(Collection<?> list)
minusAll
in interface PCollection<E>
minusAll
in interface PSequence<E>
PVector<E> minus(int i)
minus
in interface PSequence<E>
PVector<E> subList(int start, int end)
subList
in interface List<E>
subList
in interface PSequence<E>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |