Class PySet

    • Field Detail

      • TYPE

        public static final PyType TYPE
    • Constructor Detail

      • PySet

        public PySet()
      • PySet

        public PySet​(PyType type)
      • PySet

        public PySet​(PyObject data)
      • PySet

        public PySet​(PyObject[] data)
      • PySet

        public PySet​(java.util.Set backing_set,
                     PyObject data)
      • PySet

        public PySet​(PyType type,
                     java.util.Set backing_set,
                     PyObject data)
    • Method Detail

      • __ior__

        public PyObject __ior__​(PyObject other)
        Description copied from class: PyObject
        Equivalent to the standard Python __ior__ method
        Overrides:
        __ior__ in class PyObject
        Parameters:
        other - the object to perform this binary operation with (the right-hand operand).
        Returns:
        the result of the ior, or null if this operation is not defined
      • __ixor__

        public PyObject __ixor__​(PyObject other)
        Description copied from class: PyObject
        Equivalent to the standard Python __ixor__ method
        Overrides:
        __ixor__ in class PyObject
        Parameters:
        other - the object to perform this binary operation with (the right-hand operand).
        Returns:
        the result of the ixor, or null if this operation is not defined
      • __iand__

        public PyObject __iand__​(PyObject other)
        Description copied from class: PyObject
        Equivalent to the standard Python __iand__ method
        Overrides:
        __iand__ in class PyObject
        Parameters:
        other - the object to perform this binary operation with (the right-hand operand).
        Returns:
        the result of the iand, or null if this operation is not defined
      • __isub__

        public PyObject __isub__​(PyObject other)
        Description copied from class: PyObject
        Equivalent to the standard Python __isub__ method
        Overrides:
        __isub__ in class PyObject
        Parameters:
        other - the object to perform this binary operation with (the right-hand operand).
        Returns:
        the result of the isub, or null if this operation is not defined
      • hashCode

        public int hashCode()
        Description copied from class: BaseSet
        The hashCode of the set. Only immutable instances can be hashed.
        Specified by:
        hashCode in interface java.util.Collection
        Specified by:
        hashCode in interface java.util.Set
        Specified by:
        hashCode in class BaseSet
        Returns:
        The hashCode of the set.