uk.ac.starlink.ttools.plot2.data
Interface CachedColumnFactory
- All Known Implementing Classes:
- MemoryColumnFactory, SmartColumnFactory
public interface CachedColumnFactory
Defines a capability for storing vectors of typed data.
- Since:
- 4 Feb 2013
- Author:
- Mark Taylor
createColumn
CachedColumn createColumn(StorageType type,
long nrow)
- Creates a data storage object capable of storing a vector of
a given type. Both fixed and unknown element counts are supported.
- Parameters:
type
- data type of elements to be storednrow
- number of elements to be stored;
if a value <0 is supplied,
an indeterminate number will be stored
- Returns:
- storage object
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.