company logo

intersect method

Intersection is a method that can be called within an access path. Intersection is performed as an operation between the collection passed to the operation (preceding subpath) and one or more collections passed as argument. The intersect operation is performed by key or by object identity. Result instances are taken from the source collection, always, which may differ when operating on keys from the instances in argument collections.

Generalisations:  set methodset operation

Related topics