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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    createFromObjects(ObjectCollection objects)
     
    ObjectMatcher
    The ObjectMatcher used to find matches in the input object collection.
    void
    setMatcher(ObjectMatcher matcher)
    The ObjectMatcher used to find matches in the input object collection.

    Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary

    get, getObjects, setObjects

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Match

      public Match()
  • Method Details

    • createFromObjects

      public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException
      Specified by:
      createFromObjects in class ObjectCollectionProviderUnary
      Throws:
      ProvisionFailedException
    • getMatcher

      public ObjectMatcher getMatcher()
      The ObjectMatcher used to find matches in the input object collection.
    • setMatcher

      public void setMatcher(ObjectMatcher matcher)
      The ObjectMatcher used to find matches in the input object collection.