| Modifier and Type | Method and Description |
|---|---|
| public PStack | minus(Object e)
Redeclares org. Returns a sequence consisting of the elements of this without the first occurrence of e. |
| public PStack | |
| public PStack | |
| public PStack | plus(E e)
Redeclares org. Returns a stack consisting of the elements of this with e prepended. |
| public PStack | |
| public PStack | plusAll(Collection<? extends E> list)
Redeclares org. Returns a stack consisting of the elements of this with list prepended in reverse. |
| public PStack | |
| public PStack | subList(int
low endpoint (inclusive) of the subList start, int high endpoint (exclusive) of the subList end)Redeclares org. Returns a view of the portion of this list between the specified
|
| public PStack | |
| public PStack |
| minus | back to summary |
|---|---|
| public PStack Redeclares org. Doc from org. Returns a sequence consisting of the elements of this without the first occurrence of e.
| |
| minus | back to summary |
|---|---|
| public PStack Redeclares org.
| |
| minusAll | back to summary |
|---|---|
| public PStack Redeclares org.
| |
| plus | back to summary |
|---|---|
| public PStack Redeclares org. Returns a stack consisting of the elements of this with e prepended.
| |
| plus | back to summary |
|---|---|
| public PStack Redeclares org.
| |
| plusAll | back to summary |
|---|---|
| public PStack Redeclares org. Returns a stack consisting of the elements of this with list prepended in reverse.
| |
| plusAll | back to summary |
|---|---|
| public PStack Redeclares org.
| |
| subList | back to summary |
|---|---|
| public PStack Redeclares org. Doc from java. Returns a view of the portion of this list between the specified
This method eliminates the need for explicit range operations (of the sort that commonly exist for arrays). Any operation that expects a list can be used as a range operation by passing a subList view instead of a whole list. For example, the following idiom removes a range of elements from a list:
Similar idioms may be constructed for indexOf and
lastIndexOf, and all of the algorithms in the
Collections class can be applied to a subList.The semantics of the list returned by this method become undefined if the backing list (i.e., this list) is structurally modified in any way other than via the returned list. (Structural modifications are those that change the size of this list, or otherwise perturb it in such a fashion that iterations in progress may yield incorrect results.)
| |
| subList | back to summary |
|---|---|
public PStack
| |
| with | back to summary |
|---|---|
| public PStack Redeclares org.
| |