Class BasePointer

    • Method Detail

      • __nonzero__

        public boolean __nonzero__()
        Description copied from class: PyObject
        Equivalent to the standard Python __nonzero__ method. Returns whether of not a given PyObject is considered true.
        Overrides:
        __nonzero__ in class PyObject
      • __int__

        public PyObject __int__()
        Description copied from class: PyObject
        Equivalent to the standard Python __int__ method. Should only be overridden by numeric objects that can be reasonably coerced into an integer.
        Overrides:
        __int__ in class PyObject
        Returns:
        an integer corresponding to the value of this object.
      • __long__

        public PyObject __long__()
        Description copied from class: PyObject
        Equivalent to the standard Python __long__ method. Should only be overridden by numeric objects that can be reasonably coerced into a python long.
        Overrides:
        __long__ in class PyObject
        Returns:
        a PyLong or PyInteger corresponding to the value of this object.