public class MergeTwoCollectionsItemwise extends ObjectCollectionProvider
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.
Constructor and Description |
---|
MergeTwoCollectionsItemwise() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
get()
Gets or creates an object of type
T . |
ObjectCollectionProvider |
getObjects1()
First collection with items to be merged
|
ObjectCollectionProvider |
getObjects2()
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
|
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public ObjectCollectionProvider getObjects1()
public void setObjects1(ObjectCollectionProvider objects1)
public ObjectCollectionProvider getObjects2()
public void setObjects2(ObjectCollectionProvider objects2)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.