public class Concatenate extends ColorProvider
ColorProvider
s into a unitary ColorProvider
.
The combined unitary provider aggregates elements from all the child lists, preserving element
order, as they are added with setList(List)
.
Constructor and Description |
---|
Concatenate() |
Modifier and Type | Method and Description |
---|---|
ColorList |
get()
Gets or creates an object of type
T . |
List<ColorProvider> |
getList()
A list of
ColorProvider to be concatenated. |
void |
setList(List<ColorProvider> list)
A list of
ColorProvider to be concatenated. |
initializeRecursive, onInitialization, onInitialization
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ColorList get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public List<ColorProvider> getList()
ColorProvider
to be concatenated.public void setList(List<ColorProvider> list)
ColorProvider
to be concatenated.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.