Package org.python.core
Interface TraverseprocDerived
-
- All Known Implementing Classes:
chainDerived,ClasspathPyImporterDerived,combinationsDerived,combinationsWithReplacementDerived,compressDerived,countDerived,cycleDerived,dropwhileDerived,groupbyDerived,ifilterDerived,ifilterfalseDerived,isliceDerived,izipDerived,izipLongestDerived,permutationsDerived,productDerived,PyArrayDerived,PyBaseExceptionDerived,PyByteArrayDerived,PyBZ2CompressorDerived,PyBZ2DecompressorDerived,PyBZ2FileDerived,PyClassMethodDerived,PyComplexDerived,PyDefaultDictDerived,PyDequeDerived,PyDialectDerived,PyDictionaryDerived,PyEnumerateDerived,PyFileDerived,PyFileIODerived,PyFloatDerived,PyFrozenSetDerived,PyIntegerDerived,PyIOBaseDerived,PyListDerived,PyLocalDerived,PyLongDerived,PyModuleDerived,PyObjectDerived,PyPartialDerived,PyPropertyDerived,PyRandomDerived,PyRawIOBaseDerived,PySetDerived,PyStringDerived,PyStructDerived,PySuperDerived,PyTeeIteratorDerived,PyTupleDerived,PyTypeDerived,PyUnicodeDerived,ReferenceTypeDerived,repeatDerived,starmapDerived,takewhileDerived,zipimporterDerived
public interface TraverseprocDerivedThis is used likeTraverseproc, but traverses only theslots[]-array offooDerived-classes. This way we avoid that the traverse method of a traversablePyObjectis overridden by the derived version.gc.traverse(PyObject, Visitproc, Object)takes care of exploiting both traverse methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description inttraverseDerived(Visitproc visit, java.lang.Object arg)Traverses all reachablePyObjects.
-
-
-
Method Detail
-
traverseDerived
int traverseDerived(Visitproc visit, java.lang.Object arg)
Traverses all reachablePyObjects. Like in CPython,argmust be passed unmodified tovisitas its second parameter.
-
-