Class SegmentStack<T extends InferenceModel>
- Type Parameters:
T
- model-type in pool
- All Implemented Interfaces:
Provider<ObjectCollection>
Segments a stack into objects.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.The segmentation procedure.getStack()
The stack to segmentvoid
setSegment
(SegmentStackIntoObjectsPooled<T> segment) The segmentation procedure.void
setStack
(ProviderAsStack stack) The stack to segmentMethods 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
-
Constructor Details
-
SegmentStack
public SegmentStack()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getStack
The stack to segment -
setStack
The stack to segment -
getSegment
The segmentation procedure. -
setSegment
The segmentation procedure.
-