Package uk.ac.starlink.ttools.plot2.data
Interface CachedColumnFactory
-
- All Known Implementing Classes:
ByteStoreColumnFactory,MemoryColumnFactory,SmartColumnFactory
public interface CachedColumnFactoryDefines a capability for storing vectors of typed data.- Since:
- 4 Feb 2013
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachedColumncreateColumn(StorageType type, long nrow)Creates a data storage object capable of storing a vector of a given type.
-
-
-
Method Detail
-
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- maximum number of elements to be stored; if a value <0 is supplied, an indeterminate number is permitted- Returns:
- storage object
-
-