Class DeferredColumnRegionDouble<ATTR extends Any>

All Implemented Interfaces:
Page<ATTR>, PagingChunkSource<ATTR>, ChunkSource<ATTR>, FillContextMaker, GetContextMaker, DefaultChunkSource<ATTR>, ColumnRegion<ATTR>, ColumnRegionDouble<ATTR>, Releasable

public class DeferredColumnRegionDouble<ATTR extends Any> extends DeferredColumnRegionBase<ATTR,ColumnRegionDouble<ATTR>> implements ColumnRegionDouble<ATTR>
ColumnRegionDouble implementation for deferred regions, i.e. regions that will be properly constructed on first access.
  • Method Details

    • getDouble

      public double getDouble(long elementIndex)
      Description copied from interface: ColumnRegionDouble
      Get a single double from this region.
      Specified by:
      getDouble in interface ColumnRegionDouble<ATTR extends Any>
      Parameters:
      elementIndex - Element row key in the table's address space
      Returns:
      The double value at the specified element row key
    • getDouble

      public double getDouble(@NotNull @NotNull ChunkSource.FillContext context, long elementIndex)
      Description copied from interface: ColumnRegionDouble
      Get a single double from this region.
      Specified by:
      getDouble in interface ColumnRegionDouble<ATTR extends Any>
      Parameters:
      context - A PagingContextHolder to enable resource caching where suitable, with current region index pointing to this region
      elementIndex - Element row key in the table's address space
      Returns:
      The double value at the specified element row key