Package 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.SerializableHandles all the index checking and manipulation for get, set and del operations on a sequence.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SequenceIndexDelegate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckIdxAndDelItem(PyObject idx)PyObjectcheckIdxAndFindItem(int idx)PyObjectcheckIdxAndFindItem(PyObject idx)PyObjectcheckIdxAndGetItem(PyObject idx)voidcheckIdxAndSetItem(int idx, PyObject value)voidcheckIdxAndSetItem(PyObject idx, PyObject value)voidcheckIdxAndSetSlice(PySlice slice, PyObject value)abstract voiddelItem(int idx)abstract voiddelItems(int start, int stop)abstract PyObjectgetItem(int idx)abstract PyObjectgetSlice(int start, int stop, int step)PyObjectgetSlice(PySlice slice)abstract java.lang.StringgetTypeName()abstract intlen()abstract voidsetItem(int idx, PyObject value)abstract voidsetSlice(int start, int stop, int step, PyObject value)
-
-
-
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(int idx, PyObject value)
-
checkIdxAndDelItem
public void checkIdxAndDelItem(PyObject idx)
-
checkIdxAndFindItem
public PyObject checkIdxAndFindItem(int idx)
-
-