org.python.core

## Class SequenceIndexDelegate

- java.lang.Object
- - org.python.core.SequenceIndexDelegate

- All Implemented Interfaces:
    java.io.Serializable

      public abstract class SequenceIndexDelegate
      extends java.lang.Object
      implements java.io.Serializable

  Handles all the index checking and manipulation for get, set and del operations on a sequence.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SequenceIndexDelegate()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `checkIdxAndDelItem(PyObject idx)`
    `PyObject` | `checkIdxAndFindItem(int idx)`
    `PyObject` | `checkIdxAndFindItem(PyObject idx)`
    `PyObject` | `checkIdxAndGetItem(PyObject idx)`
    `void` | `checkIdxAndSetItem(int idx, PyObject value)`
    `void` | `checkIdxAndSetItem(PyObject idx, PyObject value)`
    `void` | `checkIdxAndSetSlice(PySlice slice, PyObject value)`
    `abstract void` | `delItem(int idx)`
    `abstract void` | `delItems(int start, int stop)`
    `abstract PyObject` | `getItem(int idx)`
    `abstract PyObject` | `getSlice(int start, int stop, int step)`
    `PyObject` | `getSlice(PySlice slice)`
    `abstract java.lang.String` | `getTypeName()`
    `abstract int` | `len()`
    `abstract void` | `setItem(int idx, PyObject value)`
    `abstract void` | `setSlice(int start, int stop, int step, PyObject value)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SequenceIndexDelegate

          public SequenceIndexDelegate()

  - ### Method Detail

    - #### len

          public abstract int len()

    - #### getItem

          public abstract PyObject getItem(int idx)

    - #### setItem

          public abstract void setItem(int idx,
                                       PyObject value)

    - #### delItem

          public abstract void delItem(int idx)

    - #### getSlice

          public abstract PyObject getSlice(int start,
                                            int stop,
                                            int step)

    - #### setSlice

          public abstract void setSlice(int start,
                                        int stop,
                                        int step,
                                        PyObject value)

    - #### delItems

          public abstract void delItems(int start,
                                        int stop)

    - #### getTypeName

          public abstract java.lang.String getTypeName()

    - #### checkIdxAndSetItem

          public void checkIdxAndSetItem(PyObject idx,
                                         PyObject value)

    - #### checkIdxAndSetSlice

          public void checkIdxAndSetSlice(PySlice slice,
                                          PyObject value)

    - #### checkIdxAndSetItem

          public void checkIdxAndSetItem(int idx,
                                         PyObject value)

    - #### checkIdxAndDelItem

          public void checkIdxAndDelItem(PyObject idx)

    - #### checkIdxAndGetItem

          public PyObject checkIdxAndGetItem(PyObject idx)

    - #### checkIdxAndFindItem

          public PyObject checkIdxAndFindItem(PyObject idx)

    - #### getSlice

          public PyObject getSlice(PySlice slice)

    - #### checkIdxAndFindItem

          public PyObject checkIdxAndFindItem(int idx)

Jython homepage