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 TypeMethodDescriptionvoid
checkIdxAndFindItem
(int 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) abstract String
abstract int
len()
abstract void
abstract 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
-