T
- model-type in poolpublic class SegmentStack<T extends InferenceModel> extends ObjectCollectionProvider
Constructor and Description |
---|
SegmentStack() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
get()
Gets or creates an object of type
T . |
SegmentStackIntoObjectsPooled<T> |
getSegment()
The segmentation procedure.
|
ProviderAsStack |
getStack()
The stack to segment
|
void |
setSegment(SegmentStackIntoObjectsPooled<T> segment)
The segmentation procedure.
|
void |
setStack(ProviderAsStack stack)
The stack to segment
|
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 ProviderAsStack getStack()
public void setStack(ProviderAsStack stack)
public SegmentStackIntoObjectsPooled<T> getSegment()
public void setSegment(SegmentStackIntoObjectsPooled<T> segment)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.