Package esys :: Package lsm :: Module LsmPy :: Class ParticleIdPairSet
[hide private]
[frames] | no frames]

Class ParticleIdPairSet

 object --+    
          |    
??.instance --+
              |
             ParticleIdPairSet

Set of particle ID pairs.

Instance Methods [hide private]
 
__eq__(...)
 
__getinitargs__(...)
 
__init__(...)
Constructs set of elements from specifed sequence.
 
__iter__(...)
 
__len__(...)
 
__reduce__(...)
helper for pickle
ParticleIdPairSet
difference(...)
Returns new set which contains elements of this set not contained in the specified set.
ParticleIdPairSet
intersection(...)
Returns new set which contains elements common to this set and the specified set.
ParticleIdPairSet
union(...)
Returns new set which is the union of this set and set.

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 64
  __safe_for_unpickling__ = True
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Constructs set of elements from specifed sequence.

Parameters:
  • iterable (iterable) - copy and insert elements from iterable into this set.
Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

difference(...)

 

Returns new set which contains elements of this set not contained in the specified set.

Parameters:
  • set (ParticleIdPairSet) - Set with which difference is performed.
Returns: ParticleIdPairSet
new set which is the difference of two sets.

intersection(...)

 

Returns new set which contains elements common to this set and the specified set.

Parameters:
  • set (ParticleIdPairSet) - Set with which intersection is performed.
Returns: ParticleIdPairSet
new set which is the intersection of two sets.

union(...)

 

Returns new set which is the union of this set and set.

Parameters:
  • set (ParticleIdPairSet) - Set with which union is performed.
Returns: ParticleIdPairSet
new set which is the union of two sets.