Package org.python.core
Class SequenceIndexDelegate
java.lang.Object
org.python.core.SequenceIndexDelegate
- All Implemented Interfaces:
Serializable
Handles all the index checking and manipulation for get, set and del operations on a sequence.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckIdxAndFindItem(int 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) abstract Stringabstract intlen()abstract voidabstract void
-
Constructor Details
-
SequenceIndexDelegate
public SequenceIndexDelegate()
-
-
Method Details
-
len
public abstract int len() -
getItem
-
setItem
-
delItem
public abstract void delItem(int idx) -
getSlice
-
setSlice
-
delItems
public abstract void delItems(int start, int stop) -
getTypeName
-
checkIdxAndSetItem
-
checkIdxAndSetSlice
-
checkIdxAndSetItem
-
checkIdxAndDelItem
-
checkIdxAndGetItem
-
checkIdxAndFindItem
-
getSlice
-
checkIdxAndFindItem
-