| Modifier and Type | Field and Description |
|---|---|
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __eq__(PyObject
the object to compare this with. o)Overrides org. Equivalent to the standard Python __eq__ method. |
| public PyObject | __ne__(PyObject
the object to compare this with. o)Overrides org. Equivalent to the standard Python __ne__ method. |
| public static int | |
| private static final boolean | |
| public final PyObject | |
| public final PyObject | |
| public final PyObject | |
| public int | |
| public PyObject | |
| public static PyObject[] | |
| public int[] | Returns: an array with the start at index 0, stop at index 1, step at index 2 and slicelength at index 3Calculates the actual indices of a slice with this slice's start, stop, step and
slicelength values for a sequence of length |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| pack-priv final int | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv static PyObject | |
| pack-priv final String | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| start | back to summary |
|---|---|
public PyObject start
| |
| step | back to summary |
|---|---|
public PyObject step
| |
| stop | back to summary |
|---|---|
public PyObject stop
| |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PySlice | back to summary |
|---|---|
| public PySlice() | |
| PySlice | back to summary |
|---|---|
| public PySlice(PyObject start, PyObject stop, PyObject step) | |
| __eq__ | back to summary |
|---|---|
| public PyObject __eq__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __eq__ method. | |
| __ne__ | back to summary |
|---|---|
| public PyObject __ne__(PyObject o) Overrides org. Doc from org. Equivalent to the standard Python __ne__ method. | |
| calculateSliceIndex | back to summary |
|---|---|
| public static int calculateSliceIndex(PyObject v) | |
| eq | back to summary |
|---|---|
| private static final boolean eq(PyObject o1, PyObject o2) | |
| getStart | back to summary |
|---|---|
| public final PyObject getStart() | |
| getStep | back to summary |
|---|---|
| public final PyObject getStep() | |
| getStop | back to summary |
|---|---|
| public final PyObject getStop() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| indices | back to summary |
|---|---|
| public PyObject indices(PyObject len) | |
| indices2 | back to summary |
|---|---|
| public static PyObject[] indices2(PyObject obj, PyObject start, PyObject stop) Calculate indices for the deprecated __get/set/delslice__ methods.
an array with start at index 0 and stop at index 1 | |
| indicesEx | back to summary |
|---|---|
| public int[] indicesEx(int length) Calculates the actual indices of a slice with this slice's start, stop, step and
slicelength values for a sequence of length
| |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| slice___hash__ | back to summary |
|---|---|
pack-priv final int slice___hash__()
| |
| slice___reduce__ | back to summary |
|---|---|
pack-priv final PyObject slice___reduce__()
| |
| slice___reduce_ex__ | back to summary |
|---|---|
pack-priv final PyObject slice___reduce_ex__(PyObject protocol)
| |
| slice_indices | back to summary |
|---|---|
pack-priv final PyObject slice_indices(PyObject len)
| |
| slice_new | back to summary |
|---|---|
pack-priv static PyObject slice_new(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| slice_toString | back to summary |
|---|---|
pack-priv final String slice_toString()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |