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

io.deephaven.engine.table.impl.sources.UngroupedBoxedDoubleObjectVectorColumnSource Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
/**
 * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
 */
/*
 * ---------------------------------------------------------------------------------------------------------------------
 * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit UngroupedBoxedCharObjectVectorColumnSource and regenerate
 * ---------------------------------------------------------------------------------------------------------------------
 */
package io.deephaven.engine.table.impl.sources;

import io.deephaven.engine.table.ColumnSource;
import io.deephaven.vector.ObjectVector;

import static io.deephaven.util.QueryConstants.NULL_DOUBLE;

/**
 * An Ungrouped Column sourced for the Boxed Type Double.
 * 

* The UngroupedBoxedC-harVectorColumnSource is replicated to all other types with * io.deephaven.engine.table.impl.sources.Replicate. * * (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment). */ public class UngroupedBoxedDoubleObjectVectorColumnSource extends UngroupedObjectVectorColumnSource { public UngroupedBoxedDoubleObjectVectorColumnSource(ColumnSource> innerSource) { super(innerSource); } @Override public double getDouble(long rowKey) { final Double result = get(rowKey); return result == null ? NULL_DOUBLE : result; } @Override public double getPrevDouble(long rowKey) { final Double result = getPrev(rowKey); return result == null ? NULL_DOUBLE : result; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy