All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.ac.starlink.table.BlankColumn Maven / Gradle / Ivy

There is a newer version: 4.3
Show newest version
package uk.ac.starlink.table;

/**
 * Represents a column with metadata but no data.  Every cell returns 
 * null, and is not writable.
 *
 * @author   Mark Taylor (Starlink)
 * @since    28 Oct 2004
 */
public class BlankColumn extends ColumnData {

    /**
     * Constructs a new column based on a given column metadata object.
     *
     * @param  colinfo  metadata for column
     */
    public BlankColumn( ColumnInfo colinfo ) {
        super( colinfo );
    }

    /**
     * Returns column value, which is always null.
     *
     * @param   irow  row index
     * @return  null
     */
    public Object readValue( long irow ) {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy