Class Match
Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
ObjectCollectionProviderUnary
Match
- All Implemented Interfaces:
Provider<ObjectCollection>
public class Match
extends ObjectCollectionProviderUnary
Provides an
ObjectCollection by matching objects using a specified ObjectMatcher.
This class applies the matching operation to the input object collection and returns a new collection containing only the matched objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObjectCollectioncreateFromObjects(ObjectCollection objects) ObjectMatcherTheObjectMatcherused to find matches in the input object collection.voidsetMatcher(ObjectMatcher matcher) TheObjectMatcherused to find matches in the input object collection.Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjectsMethods 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
-
Match
public Match()
-
-
Method Details
-
createFromObjects
public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException - Specified by:
createFromObjectsin classObjectCollectionProviderUnary- Throws:
ProvisionFailedException
-
getMatcher
public ObjectMatcher getMatcher()TheObjectMatcherused to find matches in the input object collection. -
setMatcher
public void setMatcher(ObjectMatcher matcher) TheObjectMatcherused to find matches in the input object collection.
-