Class MergeTwoCollectionsItemwise

Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
MergeTwoCollectionsItemwise
All Implemented Interfaces:
Provider<ObjectCollection>

public class MergeTwoCollectionsItemwise extends ObjectCollectionProvider
Merges itemwise objects from two collections.

e.g. element 0 from both collections are merged together, then element 1 etc.

Each collection must have the same number of objects, as will the newly created merged collection.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ObjectCollection
    get()
     
    ObjectCollectionProvider
    First collection with items to be merged
    ObjectCollectionProvider
    Second collection with items to be merged
    void
    setObjects1(ObjectCollectionProvider objects1)
    First collection with items to be merged
    void
    setObjects2(ObjectCollectionProvider objects2)
    Second collection with items to be merged

    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

    • MergeTwoCollectionsItemwise

      public MergeTwoCollectionsItemwise()
  • Method Details

    • get

      public ObjectCollection get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException
    • getObjects1

      public ObjectCollectionProvider getObjects1()
      First collection with items to be merged
    • setObjects1

      public void setObjects1(ObjectCollectionProvider objects1)
      First collection with items to be merged
    • getObjects2

      public ObjectCollectionProvider getObjects2()
      Second collection with items to be merged
    • setObjects2

      public void setObjects2(ObjectCollectionProvider objects2)
      Second collection with items to be merged