class ShortInlineIndexKeyType extends NumericInlineIndexKeyType<ShortIndexKey> {
    /** */
    public ShortInlineIndexKeyType() {
        super(IndexKeyType.SHORT, (short)2);
    }

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

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

    /** {@inheritDoc} */
    @Override protected int put0(long pageAddr, int off, ShortIndexKey key, int maxSize) {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override protected ShortIndexKey get0(long pageAddr, int off) {
        short key = PageUtils.getShort(pageAddr, off + 1);

        return new ShortIndexKey(key);
    }
}

        PageUtils.putByte(pageAddr, off, (byte)type().code());
        PageUtils.putShort(pageAddr, off + 1, (short)key.key());

        return keySize + 1;
    
<methods>public boolean isComparableTo(org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey) <variables>