| Modifier and Type | Field and Description |
|---|---|
| protected Set | _set
The underlying Set. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | Returns: The intersection of the two sets as a new set.A other)BaseSet instance.Overrides org. The intersection of the |
| public int | __cmp__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __cmp__ method. |
| public boolean | __contains__(PyObject
the element to search for in this container. other)Overrides org. Equivalent to the standard Python __contains__ method. |
| public PyObject | __eq__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __eq__ method. |
| public PyObject | __ge__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __ge__ method. |
| public PyObject | __gt__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __gt__ method. |
| public PyObject | Returns: An iteration of the set.Overrides org. Produce an iterable object. |
| public PyObject | __le__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __le__ method. |
| public int | Returns: The length of the set.Overrides org. The length of the set. |
| public PyObject | __lt__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __lt__ method. |
| public PyObject | __ne__(PyObject
the object to compare this with. other)Overrides org. Equivalent to the standard Python __ne__ method. |
| public boolean | Returns: true if the set is not empty, false otherwiseOverrides org. Determines if the instance is considered |
| public PyObject | Returns: The union of the two sets as a new set.A other)BaseSet instance.Overrides org. The union of |
| public PyObject | Returns: a tuple of (constructor, (elements))Overrides org. Used for pickling. |
| public PyObject | Returns: The difference of the two sets as a new set.A other)BaseSet instance.Overrides org. The difference of the |
| public PyObject | Returns: The symmetric difference of the two sets as a new set.A other)BaseSet instance.Overrides org. The symmetric difference of the |
| protected void | |
| protected void | |
| protected static Set | |
| protected static Set | |
| public boolean | add(Object
element to be added to this set o)Implements java. Adds the specified element to this set if it is not already present (optional operation). |
| public boolean | addAll(Collection<E>
collection containing elements to be added to this set c)Implements java. Adds all of the elements in the specified collection to this set if they're not already present (optional operation). |
| protected final BaseSet | |
| protected final PyFrozenSet | Returns: A PyFrozenSet if appropriate, otherwise the pye is rethrownThe exception thrown from a hashable operation. pye, PyObject The object which was unhashable. value)Return a PyFrozenSet whose contents are shared with value when value is a BaseSet and pye is a TypeError. |
| pack-priv final PyObject | |
| pack-priv final int | |
| pack-priv final boolean | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final int | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final String | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| public void | clear()
Implements java. Removes all of the elements from this set (optional operation). |
| public boolean | contains(Object
element whose presence in this set is to be tested o)Implements java. Returns |
| public boolean | containsAll(Collection<E>
collection to be checked for containment in this set c)Implements java. Returns |
| public PyObject | |
| public Set | |
| public abstract int | Returns: The hashCode of the set.Redeclares java. Overrides org. The hashCode of the set. |
| public boolean | |
| public Iterator | |
| protected static BaseSet | |
| protected static BaseSet | Returns: a new seta set type type, PyObject an iterable or null iterable)Create a new set of type from iterable. |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public boolean | remove(Object
object to be removed from this set, if present o)Implements java. Removes the specified element from this set if it is present (optional operation). |
| public boolean | removeAll(Collection<E>
collection containing elements to be removed from this set c)Implements java. Removes from this set all of its elements that are contained in the specified collection (optional operation). |
| public boolean | retainAll(Collection<E>
collection containing elements to be retained in this set c)Implements java. Retains only the elements in this set that are contained in the specified collection (optional operation). |
| public int | |
| public PyObject | |
| public Object[] | toArray()
Implements java. Returns an array containing all of the elements in this set. |
| public Object[] | toArray(Object[]
the array into which the elements of this set are to be
stored, if it is big enough; otherwise, a new array of the same
runtime type is allocated for this purpose. a)Implements java. Returns an array containing all of the elements in this set; the runtime type of the returned array is that of the specified array. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |