Class Intersection
An
ObjectMatcher that matches objects based on their intersection with a provided set of
objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindMatch(ObjectCollection sourceObjects) Finds matches for objects.Provider for the objects to intersect with the source objects.voidsetObjects(ObjectCollectionProvider objects) Provider for the objects to intersect with the source objects.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Intersection
public Intersection()
-
-
Method Details
-
findMatch
public List<MatchedObject> findMatch(ObjectCollection sourceObjects) throws OperationFailedException Description copied from class:ObjectMatcherFinds matches for objects.- Specified by:
findMatchin classObjectMatcher- Parameters:
sourceObjects- a collection of objects, each of whom is considered a possible match.- Returns:
- a list of each object from
sourceObjectswith corresponding matches (element order remains unchanged). - Throws:
OperationFailedException- if find process cannot successfully complete.
-
getObjects
Provider for the objects to intersect with the source objects. -
setObjects
Provider for the objects to intersect with the source objects.
-