| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public volatile int | |
| private final List | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| private | |
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __add__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __add__ method. |
| public PyTuple | |
| public PyObject | __iadd__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __iadd__ method. |
| public PyObject | __imul__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __imul__ method. |
| public PyObject | __iter__()
Overrides org. Return an iterator that is used to iterate the element of this sequence. |
| public int | __len__()
Overrides org. Equivalent to the standard Python __len__ method. |
| public PyObject | __mul__(PyObject
the object to perform this binary operation with (the right-hand operand). o)Overrides org. Equivalent to the standard Python __mul__ method. |
| public PyObject | __radd__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __radd__ method. |
| public PyIterator | |
| public PyObject | __rmul__(PyObject
the object to perform this binary operation with (the left-hand operand). o)Overrides org. Equivalent to the standard Python __rmul__ method. |
| private int | |
| public void | add(int
index at which the specified element is to be inserted index, Object element to be inserted element)Implements abstract org. Implements java. Inserts the specified element at the specified position in this list (optional operation). |
| public boolean | add(Object
element to be appended to this list o)Implements abstract org. Implements java. Appends the specified element to the end of this list (optional operation). |
| public synchronized boolean | addAll(int
index at which to insert the first element from the
specified collection index, Collection<E> collection containing elements to be added to this list c)Implements abstract org. Implements java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). |
| public boolean | addAll(Collection<E>
collection containing elements to be added to this list c)Implements abstract org. Implements java. Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). |
| private static void | |
| public void | |
| public synchronized void | clear()
Implements abstract org. Implements java. Removes all of the elements from this list (optional operation). |
| public synchronized boolean | contains(Object
element whose presence in this list is to be tested o)Implements abstract org. Implements java. Returns |
| public synchronized boolean | containsAll(Collection<E>
collection to be checked for containment in this list c)Implements abstract org. Implements java. Returns |
| public int | |
| protected void | del(int
index of the element to delete. i)Overrides org. Deletes an element from the sequence (and closes up the gap). |
| protected void | delRange(int
the position of the first element. start, int one more than the position of the last element. stop)Overrides org. Deletes a contiguous sub-sequence (and closes up the gap). |
| public boolean | equals(Object
the object to be compared for equality with this list other)Implements abstract org. Implements java. Compares the specified object with this list for equality. |
| public void | |
| public static PyList | |
| public synchronized Object | get(int
index of the element to return index)Implements abstract org. Implements java. Returns the element at the specified position in this list. |
| public synchronized PyObject[] | |
| pack-priv List | |
| protected PyObject | getslice(int
the position of the first element. start, int one more than the position of the last element. stop, int the step size. step)Implements abstract org. Returns a range of elements from the sequence. |
| public int | hashCode()
Implements abstract org. Implements java. Returns the hash code value for this list. |
| public int | |
| public int | |
| public int | |
| public synchronized int | indexOf(Object
element to search for o)Implements abstract org. Implements java. Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| public void | |
| public synchronized boolean | isEmpty()
Implements abstract org. Implements java. Returns |
| public Iterator | iterator()
Implements abstract org. Implements java. Returns an iterator over the elements in this list in proper sequence. |
| public synchronized int | lastIndexOf(Object
element to search for o)Implements abstract org. Implements java. Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized boolean | |
| pack-priv final synchronized void | |
| pack-priv final synchronized void | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized int | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final void | |
| pack-priv final PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized int | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyIterator | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized void | |
| pack-priv final synchronized void | |
| pack-priv final synchronized void | |
| pack-priv final synchronized int | |
| pack-priv final synchronized void | |
| pack-priv final synchronized int | |
| pack-priv final synchronized int | |
| pack-priv final synchronized int | |
| pack-priv final synchronized int | |
| pack-priv final synchronized void | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized void | |
| pack-priv final synchronized void | |
| pack-priv final synchronized void | |
| pack-priv final synchronized String | |
| private static List | |
| public ListIterator | listIterator()
Implements abstract org. Implements java. Returns a list iterator over the elements in this list (in proper sequence). |
| public ListIterator | listIterator(final int
index of the first element to be returned from the
list iterator (by a call to index)next)Implements abstract org. Implements java. Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list. |
| public PyObject | |
| public PyObject | pop(int
the index of the element to remove and return. n)Removes and return the |
| public synchronized void | |
| public synchronized boolean | |
| public synchronized PyObject | pyget(int
index of element to return. index)Implements abstract org. Returns the element of the sequence at the given index. |
| public synchronized void | pyset(int
index of the element to set. index, PyObject the value to set this element to. element)Implements abstract org. Sets the indexed element of the sequence to the given value. |
| public boolean | refersDirectlyTo(PyObject ob)
Overrides org. Implements org. Optional operation. |
| public void | |
| public synchronized Object | remove(int
the index of the element to be removed index)Implements abstract org. Implements java. Removes the element at the specified position in this list (optional operation). |
| public synchronized void | |
| public synchronized boolean | remove(Object
element to be removed from this list, if present o)Implements abstract org. Implements java. Removes the first occurrence of the specified element from this list, if it is present (optional operation). |
| public synchronized boolean | removeAll(Collection<E>
collection containing elements to be removed from this list c)Implements abstract org. Implements java. Removes from this list all of its elements that are contained in the specified collection (optional operation). |
| protected synchronized PyObject | repeat(int
the number of times to repeat the sequence. count)Implements abstract org. Returns a (concrete subclass of) PySequence that repeats the given sequence, as in the
implementation of |
| public synchronized boolean | retainAll(Collection<E>
collection containing elements to be retained in this list c)Implements abstract org. Implements java. Retains only the elements in this list that are contained in the specified collection (optional operation). |
| public void | |
| public synchronized Object | set(int
index of the element to replace index, Object element to be stored at the specified position element)Implements abstract org. Implements java. Replaces the element at the specified position in this list with the specified element (optional operation). |
| protected void | setslice(int
the position of the first element. start, int one more than the position of the last element. stop, int the step size. step, PyObject an object consistent with the slice assignment value)Overrides org. Sets the given range of elements according to Python slice assignment semantics. |
| private final void | |
| private final void | |
| private final void | |
| public synchronized int | size()
Implements abstract org. Implements java. Returns the number of elements in this list. |
| public void | |
| public void | |
| private synchronized void | |
| public void | |
| private synchronized void | |
| private synchronized void | |
| public synchronized List | subList(int
low endpoint (inclusive) of the subList fromIndex, int high endpoint (exclusive) of the subList toIndex)Implements abstract org. Implements java. Returns a view of the portion of this list between the specified
|
| public synchronized Object[] | toArray()
Implements abstract org. Implements java. Returns an array containing all of the elements in this list in proper sequence (from first to last element). |
| public synchronized Object[] | toArray(Object[]
the array into which the elements of this list are to
be stored, if it is big enough; otherwise, a new array of the
same runtime type is allocated for this purpose. a)Implements abstract org. Implements java. Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array. |
| public String | toString()
Implements abstract org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Overrides org. Implements org. Traverses all directly contained |
| protected String | unsupportedopMessage(String op, PyObject o2)
Overrides org. Return sequence-specific error messages suitable for substitution. |