uk.ac.starlink.ttools.plot2.data
Interface CachedColumn


public interface CachedColumn

Defines storage for a vector of data.

The usage sequence for an instance of this class is:

Since:
4 Feb 2013
Author:
Mark Taylor

Method Summary
 void add(Object value)
          Adds an entry to this vector data container.
 CachedSequence createSequence()
          Returns an object which is capable of supplying in order all the values that were added to this object.
 void endAdd()
          Indicates that no more calls to endAdd() will be made
 

Method Detail

add

void add(Object value)
Adds an entry to this vector data container. In general the supplied value must be of an appropriate type for this object. It must not be null.

Parameters:
value - non-null value to store

endAdd

void endAdd()
Indicates that no more calls to endAdd() will be made


createSequence

CachedSequence createSequence()
Returns an object which is capable of supplying in order all the values that were added to this object.

Returns:
cached data sequence


Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.