Class ExtractFrameStore
Object
ExtractFrameStore
- All Implemented Interfaces:
NamedProvider<TimeSeries>,NamedProviderStore<TimeSeries>
Exposes a
NamedProviderStore<TimeSeries> as a NamedProviderStore<Stack> by
extracting a frame from each series.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionExtractFrameStore(NamedProviderStore<Stack> stacks) Creates to extract at time-index 0.ExtractFrameStore(NamedProviderStore<Stack> stacks, int timeIndex) Creates to extract at time-indextimeIndex. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(String identifier, StoreSupplier<TimeSeries> supplier) getOptional(String key) keys()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.core.identifier.provider.NamedProvider
getArbitraryElement, getException, isEmpty
-
Constructor Details
-
ExtractFrameStore
Creates to extract at time-index 0.- Parameters:
stacks- the underlying store ofStacks.
-
ExtractFrameStore
Creates to extract at time-indextimeIndex.- Parameters:
stacks- the underlying store ofStacks.timeIndex- the time-index to extract from eachTimeSeries.
-
-
Method Details
-
getOptional
- Specified by:
getOptionalin interfaceNamedProvider<TimeSeries>- Throws:
NamedProviderGetException
-
keys
- Specified by:
keysin interfaceNamedProvider<TimeSeries>
-
add
public void add(String identifier, StoreSupplier<TimeSeries> supplier) throws OperationFailedException - Specified by:
addin interfaceNamedProviderStore<TimeSeries>- Throws:
OperationFailedException
-