class DoubleInlineIndexKeyType extends NumericInlineIndexKeyType<DoubleIndexKey> {
    /** */
    public DoubleInlineIndexKeyType() {
        super(IndexKeyType.DOUBLE, (short)8);
    }

    /** {@inheritDoc} */
    @Override public int compare0(long pageAddr, int off, IndexKey key) {
        double val = Double.longBitsToDouble(PageUtils.getLong(pageAddr, off + 1));

        return -Integer.signum(((NumericIndexKey)key).compareTo(val));
    }

    /** {@inheritDoc} */
    @Override protected int put0(long pageAddr, int off, DoubleIndexKey key, int maxSize) {
        PageUtils.putByte(pageAddr, off, (byte)type().code());
        PageUtils.putLong(pageAddr, off + 1, Double.doubleToLongBits((double)key.key()));

        return keySize + 1;
    }

    /** {@inheritDoc} */
    @Override protected DoubleIndexKey get0(long pageAddr, int off) {<FILL_FUNCTION_BODY>}
}

        double key = Double.longBitsToDouble(PageUtils.getLong(pageAddr, off + 1));

        return new DoubleIndexKey(key);
    
<methods>public boolean isComparableTo(org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey) <variables>